• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*The following structure has been taken
2 from Monkey's Audio SDK with permission*/
3 
4 #ifndef _MSM_AUDIO_APE_H
5 #define _MSM_AUDIO_APE_H
6 
7 #define AUDIO_GET_APE_CONFIG  _IOR(AUDIO_IOCTL_MAGIC, \
8 	  (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_ape_config)
9 #define AUDIO_SET_APE_CONFIG  _IOW(AUDIO_IOCTL_MAGIC, \
10 	  (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_ape_config)
11 
12 struct msm_audio_ape_config {
13 	uint16_t compatibleVersion;
14 	uint16_t compressionLevel;
15 	uint32_t formatFlags;
16 	uint32_t blocksPerFrame;
17 	uint32_t finalFrameBlocks;
18 	uint32_t totalFrames;
19 	uint16_t bitsPerSample;
20 	uint16_t numChannels;
21 	uint32_t sampleRate;
22 	uint32_t seekTablePresent;
23 };
24 
25 #endif /* _MSM_AUDIO_APE_H */
26