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_WMA_H 8 #define _MSM_AUDIO_WMA_H 9 #define AUDIO_GET_WMA_CONFIG _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 0), unsigned int) 10 #define AUDIO_SET_WMA_CONFIG _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 1), unsigned int) 11 #define AUDIO_GET_WMA_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 2), struct msm_audio_wma_config_v2) 12 #define AUDIO_SET_WMA_CONFIG_V2 _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 3), struct msm_audio_wma_config_v2) 13 struct msm_audio_wma_config { 14 unsigned short armdatareqthr; 15 unsigned short channelsdecoded; 16 unsigned short wmabytespersec; 17 unsigned short wmasamplingfreq; 18 unsigned short wmaencoderopts; 19 }; 20 struct msm_audio_wma_config_v2 { 21 unsigned short format_tag; 22 unsigned short numchannels; 23 uint32_t samplingrate; 24 uint32_t avgbytespersecond; 25 unsigned short block_align; 26 unsigned short validbitspersample; 27 uint32_t channelmask; 28 unsigned short encodeopt; 29 }; 30 #endif 31