diff options
author | QuIC Gerrit Code Review <gerrit@quicinc.com> | 2009-09-21 07:56:26 -0700 |
---|---|---|
committer | QuIC Gerrit Code Review <gerrit@quicinc.com> | 2009-09-21 07:56:26 -0700 |
commit | e984c60716eeac062736d5961d9f48248ad7bfa1 (patch) | |
tree | c556e49a2dc6100404dad46ed78b4f2411af3981 | |
parent | 8ac2347f5670e189dc7a0f32e8f5c9354a4a521e (diff) | |
parent | b8f829e69459cd8f959ee1e7cb5d592f1b9b3521 (diff) | |
download | bionic-e984c60716eeac062736d5961d9f48248ad7bfa1.zip bionic-e984c60716eeac062736d5961d9f48248ad7bfa1.tar.gz bionic-e984c60716eeac062736d5961d9f48248ad7bfa1.tar.bz2 |
Merge change 6186 into donutQ8650BSDCANLYA3200M7630AABBQMLZA1050
* changes:
bionic: Add msm_audio_qcp.h for EVRC and QCELP config interface
-rw-r--r-- | libc/kernel/common/linux/msm_audio_qcp.h | 40 |
1 files changed, 40 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..b5e40a7 --- /dev/null +++ b/libc/kernel/common/linux/msm_audio_qcp.h @@ -0,0 +1,40 @@ +/**************************************************************************** + **************************************************************************** + *** + *** 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 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_config { + uint32_t channels; + uint32_t cdma_rate; + uint32_t min_bit_rate; + uint32_t max_bit_rate; +}; +struct msm_audio_evrc_config { + uint32_t channels; + uint32_t cdma_rate; + uint32_t min_bit_rate; + uint32_t max_bit_rate; + uint8_t bit_rate_reduction; + uint8_t hi_pass_filter; + uint8_t noise_suppressor; + uint8_t post_filter; +}; +#endif |