diff options
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 |