1 #ifndef _MSM_AUDIO_WMA_H 2 #define _MSM_AUDIO_WMA_H 3 4 #define AUDIO_GET_WMA_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \ 5 (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned int) 6 #define AUDIO_SET_WMA_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \ 7 (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned int) 8 9 #define AUDIO_GET_WMA_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, \ 10 (AUDIO_MAX_COMMON_IOCTL_NUM+2), struct msm_audio_wma_config_v2) 11 #define AUDIO_SET_WMA_CONFIG_V2 _IOW(AUDIO_IOCTL_MAGIC, \ 12 (AUDIO_MAX_COMMON_IOCTL_NUM+3), struct msm_audio_wma_config_v2) 13 14 struct msm_audio_wma_config { 15 unsigned short armdatareqthr; 16 unsigned short channelsdecoded; 17 unsigned short wmabytespersec; 18 unsigned short wmasamplingfreq; 19 unsigned short wmaencoderopts; 20 }; 21 22 struct msm_audio_wma_config_v2 { 23 unsigned short format_tag; 24 unsigned short numchannels; 25 uint32_t samplingrate; 26 uint32_t avgbytespersecond; 27 unsigned short block_align; 28 unsigned short validbitspersample; 29 uint32_t channelmask; 30 unsigned short encodeopt; 31 }; 32 33 #endif /* _MSM_AUDIO_WMA_H */ 34