msm_audio_wmapro.h 689 B

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