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