Banajit Goswami | 0530e2f | 2016-12-09 21:34:37 -0800 | [diff] [blame] | 1 | /* The following structure has been taken |
| 2 | * from Monkey's Audio SDK with permission |
| 3 | */ |
| 4 | |
| 5 | #ifndef _UAPI_MSM_AUDIO_APE_H |
| 6 | #define _UAPI_MSM_AUDIO_APE_H |
| 7 | |
| 8 | #define AUDIO_GET_APE_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \ |
| 9 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_ape_config) |
| 10 | #define AUDIO_SET_APE_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \ |
| 11 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_ape_config) |
| 12 | |
| 13 | struct msm_audio_ape_config { |
| 14 | uint16_t compatibleVersion; |
| 15 | uint16_t compressionLevel; |
| 16 | uint32_t formatFlags; |
| 17 | uint32_t blocksPerFrame; |
| 18 | uint32_t finalFrameBlocks; |
| 19 | uint32_t totalFrames; |
| 20 | uint16_t bitsPerSample; |
| 21 | uint16_t numChannels; |
| 22 | uint32_t sampleRate; |
| 23 | uint32_t seekTablePresent; |
| 24 | }; |
| 25 | |
| 26 | #endif /* _UAPI_MSM_AUDIO_APE_H */ |