audio-lnx: Initial change for techpack of audio drivers.
Add snapshot for audio drivers for SDM targets. The code is migrated from msm-4.9 kernel at the below cutoff - (74ff856e8d6: "net: ipc_router: Add dynamic enable/disable wakeup source feature") This changes are done for new techpack addition for audio kernel. Migrate all audio kernel drivers to this techpack. Change-Id: I33d580af3ba86a5cb777583efc5d4cdaf2882d93 Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
This commit is contained in:

committed by
Martin Fick

parent
5ff0cfa736
commit
8e2277f79f
26
include/uapi/linux/msm_audio_ape.h
Normal file
26
include/uapi/linux/msm_audio_ape.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/* The following structure has been taken
|
||||
* from Monkey's Audio SDK with permission
|
||||
*/
|
||||
|
||||
#ifndef _UAPI_MSM_AUDIO_APE_H
|
||||
#define _UAPI_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 /* _UAPI_MSM_AUDIO_APE_H */
|
Reference in New Issue
Block a user