summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/kernel/common/linux/msm_audio_acdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_audio_acdb.h b/libc/kernel/common/linux/msm_audio_acdb.h
index e9dc2c3..91786d2 100644
--- a/libc/kernel/common/linux/msm_audio_acdb.h
+++ b/libc/kernel/common/linux/msm_audio_acdb.h
@@ -23,10 +23,16 @@
#define AUDIO_SET_AUDPROC_TX_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+6), unsigned)
#define AUDIO_SET_AUDPROC_TX_STREAM_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+7), unsigned)
#define AUDIO_SET_AUDPROC_TX_VOL_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+8), unsigned)
+#define AUDIO_SET_SIDETONE_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+9), unsigned)
struct cal_block {
uint32_t cal_size;
uint32_t cal_offset;
};
+struct sidetone_cal {
+ uint16_t enable;
+ uint16_t gain;
+};
+
#endif