asoc: msm: Add support for compressed perf mode
Add support for compressed perf mode. Compressed perf mode configures the DSP in low latency mode. In low latency mode, DSP have reduced buffer size for faster operations. Above layers may pass this flag for configuring the DSP in low latency mode. Change-Id: Ib291d0fb9921edbaf2466d44c87aeed3367aec67 Signed-off-by: Deeraj Soman <sdeeraj@codeaurora.org>
This commit is contained in:
parent
845cf2a097
commit
aec78f41d3
1 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,11 @@
|
|||
/* Bit-0 - 0 : Disable Timestamp mode */
|
||||
#define COMPRESSED_TIMESTAMP_FLAG 0x0001
|
||||
|
||||
/* Perf mode flag */
|
||||
/* Bit-1 - 1 : Enable perf mode */
|
||||
/* Bit-1 - 0 : Disable perf mode */
|
||||
#define COMPRESSED_PERF_MODE_FLAG 0x0002
|
||||
|
||||
/* Codecs are listed linearly to allow for extensibility */
|
||||
#define SND_AUDIOCODEC_PCM ((__u32) 0x00000001)
|
||||
#define SND_AUDIOCODEC_MP3 ((__u32) 0x00000002)
|
||||
|
|
Loading…
Reference in a new issue