summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuresh Vankadara <svankada@qualcomm.com>2009-07-03 16:53:24 +0530
committerColbert, Varun <c_vcolbe@quicinc.com>2009-07-16 17:10:31 -0700
commitea5a62935ff0f1540173c1edd47f7b876478fea8 (patch)
tree6fd0ffa57b85040ce601820c02e0e894216cd2f7
parent61ef6b43b2b96cccd8ae21ebacb3ae45dac48ba7 (diff)
downloadbionic-ea5a62935ff0f1540173c1edd47f7b876478fea8.zip
bionic-ea5a62935ff0f1540173c1edd47f7b876478fea8.tar.gz
bionic-ea5a62935ff0f1540173c1edd47f7b876478fea8.tar.bz2
bionic: Add new IOCTL to support MBADRC
Update to include new ioctl AUDIO_SET_MBADRC and bit masks related to pre-processing feature. This corresponds to kernel gerrit IDs: 3921, 4017
-rw-r--r--libc/kernel/common/linux/msm_audio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_audio.h b/libc/kernel/common/linux/msm_audio.h
index 30c3e06..8ddfb60 100644
--- a/libc/kernel/common/linux/msm_audio.h
+++ b/libc/kernel/common/linux/msm_audio.h
@@ -44,6 +44,7 @@
#define AUDIO_GET_STREAM_INFO _IOR(AUDIO_IOCTL_MAGIC, 34, struct msm_audio_bitstream_info)
#define AUDIO_SET_PAN _IOW(AUDIO_IOCTL_MAGIC, 35, unsigned)
#define AUDIO_SET_QCONCERT_PLUS _IOW(AUDIO_IOCTL_MAGIC, 36, unsigned)
+#define AUDIO_SET_MBADRC _IOW(AUDIO_IOCTL_MAGIC, 37, unsigned)
#define AUDIO_MAX_COMMON_IOCTL_NUM 100
@@ -83,6 +84,11 @@
#define EQ_ENABLE 0x0002
#define IIR_ENABLE 0x0004
#define QCONCERT_PLUS_ENABLE 0x0008
+#define MBADRC_ENABLE 0x0010
+
+#define AGC_ENABLE 0x0001
+#define NS_ENABLE 0x0002
+#define TX_IIR_ENABLE 0x0004
struct msm_audio_config {
uint32_t buffer_size;