msm_audio_wmapro.h 761 B

123456789101112131415161718192021222324
  1. #ifndef _UAPI_MSM_AUDIO_WMAPRO_H
  2. #define _UAPI_MSM_AUDIO_WMAPRO_H
  3. #include <linux/types.h>
  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. struct msm_audio_wmapro_config {
  9. unsigned short armdatareqthr;
  10. __u8 validbitspersample;
  11. __u8 numchannels;
  12. unsigned short formattag;
  13. __u32 samplingrate;
  14. __u32 avgbytespersecond;
  15. unsigned short asfpacketlength;
  16. __u32 channelmask;
  17. unsigned short encodeopt;
  18. unsigned short advancedencodeopt;
  19. __u32 advancedencodeopt2;
  20. };
  21. #endif /* _UAPI_MSM_AUDIO_WMAPRO_H */