Files
device_google_walleye/original-kernel-headers/linux/msm_audio_ape.h
Thierry Strudel 449c976e32 Initial bringup: boot to UI + adb on muskie EVM
Bug: 31420007
Change-Id: I1a3687a339c0830e058ac3c8b4f4a4e51bac272b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2016-09-12 09:32:21 -07:00

26 lines
695 B
C

/*The following structure has been taken
from Monkey's Audio SDK with permission*/
#ifndef _MSM_AUDIO_APE_H
#define _MSM_AUDIO_APE_H
#define AUDIO_GET_APE_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
(AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_ape_config)
#define AUDIO_SET_APE_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
(AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_ape_config)
struct msm_audio_ape_config {
uint16_t compatibleVersion;
uint16_t compressionLevel;
uint32_t formatFlags;
uint32_t blocksPerFrame;
uint32_t finalFrameBlocks;
uint32_t totalFrames;
uint16_t bitsPerSample;
uint16_t numChannels;
uint32_t sampleRate;
uint32_t seekTablePresent;
};
#endif /* _MSM_AUDIO_APE_H */