diff options
author | Ajay Dudani <adudani@codeaurora.org> | 2010-12-17 22:57:46 -0800 |
---|---|---|
committer | Ajay Dudani <adudani@codeaurora.org> | 2010-12-17 23:01:10 -0800 |
commit | deaf5346fb9d0c04c3604bb894eee0dfc7283f1e (patch) | |
tree | 8755a28c01f7efb8416b2a8ea9df5bab7248008c /libc/kernel/common/linux/msm_audio_qcp.h | |
parent | 7bbd4580afe0347892a0680b5917ec7df38c003a (diff) | |
download | bionic-deaf5346fb9d0c04c3604bb894eee0dfc7283f1e.zip bionic-deaf5346fb9d0c04c3604bb894eee0dfc7283f1e.tar.gz bionic-deaf5346fb9d0c04c3604bb894eee0dfc7283f1e.tar.bz2 |
Update kernel headers to CodeAuroraForum caf/android-msm-2.6.35
Change-Id: I490e62adbe3b84ff2280f1cd88c6a3e8fed73109
Diffstat (limited to 'libc/kernel/common/linux/msm_audio_qcp.h')
-rw-r--r-- | libc/kernel/common/linux/msm_audio_qcp.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_audio_qcp.h b/libc/kernel/common/linux/msm_audio_qcp.h new file mode 100644 index 0000000..081ecf0 --- /dev/null +++ b/libc/kernel/common/linux/msm_audio_qcp.h @@ -0,0 +1,44 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __MSM_AUDIO_QCP_H +#define __MSM_AUDIO_QCP_H + +#include <linux/msm_audio.h> + +#define AUDIO_SET_QCELP_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 0, struct msm_audio_qcelp_enc_config) + +#define AUDIO_GET_QCELP_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 1, struct msm_audio_qcelp_enc_config) + +#define AUDIO_SET_EVRC_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 2, struct msm_audio_evrc_enc_config) + +#define AUDIO_GET_EVRC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, struct msm_audio_evrc_enc_config) + +#define CDMA_RATE_BLANK 0x00 +#define CDMA_RATE_EIGHTH 0x01 +#define CDMA_RATE_QUARTER 0x02 +#define CDMA_RATE_HALF 0x03 +#define CDMA_RATE_FULL 0x04 +#define CDMA_RATE_ERASURE 0x05 + +struct msm_audio_qcelp_enc_config { + uint32_t cdma_rate; + uint32_t min_bit_rate; + uint32_t max_bit_rate; +}; + +struct msm_audio_evrc_enc_config { + uint32_t cdma_rate; + uint32_t min_bit_rate; + uint32_t max_bit_rate; +}; + +#endif |