msm_audio_alac.h 709 B

123456789101112131415161718192021222324
  1. #ifndef _UAPI_MSM_AUDIO_ALAC_H
  2. #define _UAPI_MSM_AUDIO_ALAC_H
  3. #define AUDIO_GET_ALAC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
  4. (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_alac_config)
  5. #define AUDIO_SET_ALAC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
  6. (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_alac_config)
  7. struct msm_audio_alac_config {
  8. uint32_t frameLength;
  9. uint8_t compatVersion;
  10. uint8_t bitDepth;
  11. uint8_t pb; /* currently unused */
  12. uint8_t mb; /* currently unused */
  13. uint8_t kb; /* currently unused */
  14. uint8_t channelCount;
  15. uint16_t maxRun; /* currently unused */
  16. uint32_t maxSize;
  17. uint32_t averageBitRate;
  18. uint32_t sampleRate;
  19. uint32_t channelLayout;
  20. };
  21. #endif /* _UAPI_MSM_AUDIO_ALAC_H */