summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_sndfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_sndfx.h')
-rw-r--r--sound/soc/tegra/tegra_sndfx.h31
1 files changed, 23 insertions, 8 deletions
diff --git a/sound/soc/tegra/tegra_sndfx.h b/sound/soc/tegra/tegra_sndfx.h
index 5b59b7587a82..2cc38e557290 100644
--- a/sound/soc/tegra/tegra_sndfx.h
+++ b/sound/soc/tegra/tegra_sndfx.h
@@ -281,6 +281,29 @@ typedef struct NvAudioFxSpreaderDescriptorRec
NvU32 SpeakerWidth;
} NvAudioFxSpreaderDescriptor;
+// I2S inputs.
+
+typedef NvS32 NvAudioFxI2sInputSelect;
+
+// Default is configurable based on the device.
+#define NvAudioFxI2sInputSelect_Default (0x0)
+#define NvAudioFxI2sInputSelect_Bluetooth (0x1)
+#define NvAudioFxI2sInputSelect_BuiltinMic (0x2)
+#define NvAudioFxI2sInputSelect_LineIn (0x3)
+#define NvAudioFxI2sInputSelect_Mic (0x4)
+#define NvAudioFxI2sInputSelect_Phone (0x5)
+#define NvAudioFxI2sInputSelect_Radio (0x6)
+
+// Description of the NvAudioFxI2sProperty_AllocChannel property.
+
+typedef struct NvAudioFxI2sChannelDescriptorRec
+{
+ NvAudioFxPin Pin;
+ NvU32 Id;
+} NvAudioFxI2sChannelDescriptor;
+
+// Parameteric EQ Filter types.
+
typedef enum
{
NvAudioFxIirFilter_Undefined,
@@ -395,14 +418,6 @@ typedef struct NvAudioFxNotifierConnectionDescriptorRec
NvU8 PortName[16];
} NvAudioFxNotifierConnectionDescriptor;
-// Description of the NvAudioFxI2sProperty_AllocChannel property.
-
-typedef struct NvAudioFxI2sChannelDescriptorRec
-{
- NvAudioFxPin Pin;
- NvU32 Id;
-} NvAudioFxI2sChannelDescriptor;
-
// Description of the NvAudioFxProperty_AddEvent and
// NvAudioFxProperty_RemoveEvent properties.