summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Lohmann <plohmann@quicinc.com>2009-07-06 16:29:04 -0700
committerPeter Lohmann <plohmann@quicinc.com>2009-07-17 12:52:09 -0700
commita64660709f5b2849f1a840b4430653ca3fccdf6e (patch)
tree64f6c567e0747e8a6067fd846f486340a4af9920
parentea5a62935ff0f1540173c1edd47f7b876478fea8 (diff)
downloadbionic-a64660709f5b2849f1a840b4430653ca3fccdf6e.zip
bionic-a64660709f5b2849f1a840b4430653ca3fccdf6e.tar.gz
bionic-a64660709f5b2849f1a840b4430653ca3fccdf6e.tar.bz2
bionic: Add volume path (RX/TX) struct and ioctl.
-rw-r--r--libc/kernel/common/linux/msm_audio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_audio.h b/libc/kernel/common/linux/msm_audio.h
index 8ddfb60..cf55001 100644
--- a/libc/kernel/common/linux/msm_audio.h
+++ b/libc/kernel/common/linux/msm_audio.h
@@ -45,6 +45,7 @@
#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
@@ -128,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;