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_AMRNB_H
8 #define _MSM_AUDIO_AMRNB_H
9 #include <linux/msm_audio.h>
10 #define AUDIO_GET_AMRNB_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 0), unsigned int)
11 #define AUDIO_SET_AMRNB_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 1), unsigned int)
12 #define AUDIO_GET_AMRNB_ENC_CONFIG_V2 _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 2), struct msm_audio_amrnb_enc_config_v2)
13 #define AUDIO_SET_AMRNB_ENC_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 3), struct msm_audio_amrnb_enc_config_v2)
14 struct msm_audio_amrnb_enc_config {
15   unsigned short voicememoencweight1;
16   unsigned short voicememoencweight2;
17   unsigned short voicememoencweight3;
18   unsigned short voicememoencweight4;
19   unsigned short dtx_mode_enable;
20   unsigned short test_mode_enable;
21   unsigned short enc_mode;
22 };
23 struct msm_audio_amrnb_enc_config_v2 {
24   uint32_t band_mode;
25   uint32_t dtx_enable;
26   uint32_t frame_format;
27 };
28 #endif
29