summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Daugherty <bdaugher@quicinc.com>2009-07-28 12:45:00 -0600
committerBrian Daugherty <bdaugher@quicinc.com>2009-07-28 12:45:00 -0600
commit412424422007cf8888f465ed14058748b92a7a7c (patch)
tree64f6c567e0747e8a6067fd846f486340a4af9920
parentafde42f6ab11397e7f4e497053a2bb1b9222500a (diff)
parenta64660709f5b2849f1a840b4430653ca3fccdf6e (diff)
downloadbionic-412424422007cf8888f465ed14058748b92a7a7c.zip
bionic-412424422007cf8888f465ed14058748b92a7a7c.tar.gz
bionic-412424422007cf8888f465ed14058748b92a7a7c.tar.bz2
Merge commit 'au-01.08.00.258' into donut-releaseM76XXTSNCJNLYA4415
-rw-r--r--libc/kernel/common/linux/msm_audio.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_audio.h b/libc/kernel/common/linux/msm_audio.h
index 1989ced..cf55001 100644
--- a/libc/kernel/common/linux/msm_audio.h
+++ b/libc/kernel/common/linux/msm_audio.h
@@ -44,6 +44,8 @@
#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_SET_VOLUME_PATH _IOW(AUDIO_IOCTL_MAGIC, 38, struct msm_vol_info)
#define AUDIO_MAX_COMMON_IOCTL_NUM 100
@@ -70,6 +72,12 @@
#define DEFAULT_RX 0x0F
#define BT_A2DP_TX 0x10
+
+#define HEADSET_MONO_PLUS_SPKR_MONO_RX 0x11
+#define HEADSET_MONO_PLUS_SPKR_STEREO_RX 0x12
+#define HEADSET_STEREO_PLUS_SPKR_MONO_RX 0x13
+#define HEADSET_STEREO_PLUS_SPKR_STEREO_RX 0x14
+
#define I2S_RX 0x20
#define I2S_TX 0x21
@@ -77,6 +85,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;
@@ -116,6 +129,11 @@ struct msm_mute_info {
uint32_t path;
};
+struct msm_vol_info {
+ uint32_t vol;
+ uint32_t path;
+};
+
struct msm_snd_device_config {
uint32_t device;
uint32_t ear_mute;