blob: 64cbf9e079d67d2f1899c1865636bb1b490edb23 [file] [log] [blame]
Banajit Goswami0530e2f2016-12-09 21:34:37 -08001#ifndef _UAPI_MSM_AUDIO_WMAPRO_H
2#define _UAPI_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
9struct 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 /* _UAPI_MSM_AUDIO_WMAPRO_H */