summaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/linux/msm_audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/common/linux/msm_audio.h')
-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;