• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _MSM_AUDIO_QCP_H
8 #define _MSM_AUDIO_QCP_H
9 #include <linux/msm_audio.h>
10 #define AUDIO_SET_QCELP_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 0, struct msm_audio_qcelp_enc_config)
11 #define AUDIO_GET_QCELP_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 1, struct msm_audio_qcelp_enc_config)
12 #define AUDIO_SET_EVRC_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 2, struct msm_audio_evrc_enc_config)
13 #define AUDIO_GET_EVRC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, struct msm_audio_evrc_enc_config)
14 #define CDMA_RATE_BLANK 0x00
15 #define CDMA_RATE_EIGHTH 0x01
16 #define CDMA_RATE_QUARTER 0x02
17 #define CDMA_RATE_HALF 0x03
18 #define CDMA_RATE_FULL 0x04
19 #define CDMA_RATE_ERASURE 0x05
20 struct msm_audio_qcelp_enc_config {
21   uint32_t cdma_rate;
22   uint32_t min_bit_rate;
23   uint32_t max_bit_rate;
24 };
25 struct msm_audio_evrc_enc_config {
26   uint32_t cdma_rate;
27   uint32_t min_bit_rate;
28   uint32_t max_bit_rate;
29 };
30 #endif
31