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), unsigned) 6#define AUDIO_SET_WMAPRO_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \ 7 (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned) 8 9struct msm_audio_wmapro_config { 10 unsigned short armdatareqthr; 11 uint8_t validbitspersample; 12 uint8_t numchannels; 13 unsigned short formattag; 14 unsigned short samplingrate; 15 unsigned short avgbytespersecond; 16 unsigned short asfpacketlength; 17 unsigned short channelmask; 18 unsigned short encodeopt; 19 unsigned short advancedencodeopt; 20 uint32_t advancedencodeopt2; 21}; 22#endif /* __MSM_AUDIO_WMAPRO_H */ 23