summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@qualcomm.com>2010-11-24 17:36:07 -0800
committerQuIC Gerrit Code Review <code-review@localhost>2010-11-24 17:36:07 -0800
commit3071cfc69df2523dfe7bf7f04eb631b9bddea008 (patch)
tree3e39eef4d70f9d347f4de2e7438fb9b138c6711f
parent0c333363360f21edcf6d8b43c971b19ef2d6ffc7 (diff)
parentea788c8409aec6a939ddb415cf3dcc095ba5be67 (diff)
downloadbionic-M76XXTSNCJNLYA7030.zip
bionic-M76XXTSNCJNLYA7030.tar.gz
bionic-M76XXTSNCJNLYA7030.tar.bz2
Merge "bionic: Adds interface for sidetone gain" into froyoM76XXTSNCJNLYA7030M7630AABBQMLZA40000360
-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