diff options
author | Ashraya Arya <ashrayaa@quicinc.com> | 2009-10-22 16:31:28 -0700 |
---|---|---|
committer | Varun Colbert <c_vcolbe@quicinc.com> | 2009-12-07 12:51:34 -0800 |
commit | e5aa2993f74d8bc0ffbeed80ffb48ee96f4c53f0 (patch) | |
tree | 52710e24b8f16fa2d1b71a31458135271b459831 /libc/kernel/common/linux | |
parent | b44cd67d435793f2cbcc567aaade410199f02fff (diff) | |
download | bionic-e5aa2993f74d8bc0ffbeed80ffb48ee96f4c53f0.zip bionic-e5aa2993f74d8bc0ffbeed80ffb48ee96f4c53f0.tar.gz bionic-e5aa2993f74d8bc0ffbeed80ffb48ee96f4c53f0.tar.bz2 |
bionic: updated msm_audio_qcp.h to change to a common QCP
encoding interface that it is compatible with all targets
Diffstat (limited to 'libc/kernel/common/linux')
-rw-r--r-- | libc/kernel/common/linux/msm_audio_qcp.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/libc/kernel/common/linux/msm_audio_qcp.h b/libc/kernel/common/linux/msm_audio_qcp.h index 55e843c..081ecf0 100644 --- a/libc/kernel/common/linux/msm_audio_qcp.h +++ b/libc/kernel/common/linux/msm_audio_qcp.h @@ -14,6 +14,14 @@ #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 @@ -21,21 +29,16 @@ #define CDMA_RATE_FULL 0x04 #define CDMA_RATE_ERASURE 0x05 -struct msm_audio_qcelp_config { - uint32_t channels; +struct msm_audio_qcelp_enc_config { uint32_t cdma_rate; uint32_t min_bit_rate; uint32_t max_bit_rate; }; -struct msm_audio_evrc_config { - uint32_t channels; + +struct msm_audio_evrc_enc_config { 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 |