• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _MSM_AUDIO_QCP_H
20 #define _MSM_AUDIO_QCP_H
21 #include <linux/msm_audio.h>
22 #define AUDIO_SET_QCELP_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 0, struct msm_audio_qcelp_enc_config)
23 #define AUDIO_GET_QCELP_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 1, struct msm_audio_qcelp_enc_config)
24 #define AUDIO_SET_EVRC_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 2, struct msm_audio_evrc_enc_config)
25 #define AUDIO_GET_EVRC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, struct msm_audio_evrc_enc_config)
26 #define CDMA_RATE_BLANK 0x00
27 #define CDMA_RATE_EIGHTH 0x01
28 #define CDMA_RATE_QUARTER 0x02
29 #define CDMA_RATE_HALF 0x03
30 #define CDMA_RATE_FULL 0x04
31 #define CDMA_RATE_ERASURE 0x05
32 struct msm_audio_qcelp_enc_config {
33   uint32_t cdma_rate;
34   uint32_t min_bit_rate;
35   uint32_t max_bit_rate;
36 };
37 struct msm_audio_evrc_enc_config {
38   uint32_t cdma_rate;
39   uint32_t min_bit_rate;
40   uint32_t max_bit_rate;
41 };
42 #endif
43 
44