summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuresh Vankadara <svankada@qualcomm.com>2009-06-23 09:38:41 +0530
committerShylender Gaddamwar <c_shylen@quicinc.com>2009-07-02 15:59:35 -0700
commit99b4135a1ba5d6f50d8862cd55c2f183dd1b4884 (patch)
tree788e2fa2cc30f0d409ffb0b11ddfd432804fd090
parent7d20d7c9b36d1a560b3a9a5c2bf06583619fab71 (diff)
downloadbionic-M76XXTSNCJNLYA4320.zip
bionic-M76XXTSNCJNLYA4320.tar.gz
bionic-M76XXTSNCJNLYA4320.tar.bz2
Bionic: Update msm_audio.h to support volume, pan and QConcertPlusM76XXTSNCJNLYA4320
Signed-off-by: Suresh Vankadara <svankada@qualcomm.com>
-rw-r--r--libc/kernel/common/linux/msm_audio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_audio.h b/libc/kernel/common/linux/msm_audio.h
index 14e4a8b..1989ced 100644
--- a/libc/kernel/common/linux/msm_audio.h
+++ b/libc/kernel/common/linux/msm_audio.h
@@ -42,6 +42,8 @@
#define AUDIO_SWITCH_DEVICE _IOW(AUDIO_IOCTL_MAGIC, 32, unsigned)
#define AUDIO_SET_MUTE _IOW(AUDIO_IOCTL_MAGIC, 33, unsigned)
#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_MAX_COMMON_IOCTL_NUM 100
@@ -71,6 +73,11 @@
#define I2S_RX 0x20
#define I2S_TX 0x21
+#define ADRC_ENABLE 0x0001
+#define EQ_ENABLE 0x0002
+#define IIR_ENABLE 0x0004
+#define QCONCERT_PLUS_ENABLE 0x0008
+
struct msm_audio_config {
uint32_t buffer_size;
uint32_t buffer_count;