1 #ifndef _MSM_AUDIO_WMAPRO_H 2 #define _MSM_AUDIO_WMAPRO_H 3 4 #define AUDIO_GET_WMAPRO_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \ 5 (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_wmapro_config) 6 #define AUDIO_SET_WMAPRO_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \ 7 (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_wmapro_config) 8 9 struct msm_audio_wmapro_config { 10 unsigned short armdatareqthr; 11 uint8_t validbitspersample; 12 uint8_t numchannels; 13 unsigned short formattag; 14 uint32_t samplingrate; 15 uint32_t avgbytespersecond; 16 unsigned short asfpacketlength; 17 uint32_t channelmask; 18 unsigned short encodeopt; 19 unsigned short advancedencodeopt; 20 uint32_t advancedencodeopt2; 21 }; 22 #endif /* _MSM_AUDIO_WMAPRO_H */ 23