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