summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Ramachandramurthy <bramacha@codeaurora.org>2010-08-05 14:02:33 -0700
committerBharath Ramachandramurthy <bramacha@codeaurora.org>2010-09-02 13:22:44 -0700
commit03b624ef4d8d73ec4d1ca9c5c3cdf2c96ee3b44d (patch)
tree84e6d0012e7da7cef6696d597b652766f7cecb78
parent85fc2d0ccabb87be20b90d1d3a735f482d28dae1 (diff)
downloadbionic-03b624ef4d8d73ec4d1ca9c5c3cdf2c96ee3b44d.zip
bionic-03b624ef4d8d73ec4d1ca9c5c3cdf2c96ee3b44d.tar.gz
bionic-03b624ef4d8d73ec4d1ca9c5c3cdf2c96ee3b44d.tar.bz2
bionic: add support to configure for multiframing and meta data
Adding support to configure for multiframing and metadata to the DSP. Change-Id: Icdf367b6414ad3d5324d4087dc1711f93c2d9c81
-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 4f97b73..afe95c5 100644
--- a/libc/kernel/common/linux/msm_audio.h
+++ b/libc/kernel/common/linux/msm_audio.h
@@ -68,6 +68,8 @@
#define AUDIO_SET_AGC _IOW(AUDIO_IOCTL_MAGIC, 90, unsigned)
#define AUDIO_SET_NS _IOW(AUDIO_IOCTL_MAGIC, 91, unsigned)
#define AUDIO_SET_TX_IIR _IOW(AUDIO_IOCTL_MAGIC, 92, unsigned)
+#define AUDIO_GET_BUF_CFG _IOW(AUDIO_IOCTL_MAGIC, 93, struct msm_audio_buf_cfg)
+#define AUDIO_SET_BUF_CFG _IOW(AUDIO_IOCTL_MAGIC, 94, struct msm_audio_buf_cfg)
#define AUDIO_MAX_COMMON_IOCTL_NUM 100
@@ -147,6 +149,11 @@ struct msm_audio_aio_buf {
unsigned short mfield_sz;
};
+struct msm_audio_buf_cfg{
+ uint32_t meta_info_enable;
+ uint32_t frames_per_buf;
+};
+
#define SND_IOCTL_MAGIC 's'
#define SND_MUTE_UNMUTED 0