mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
ANDROID: GKI: 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> Bug: 151372815 (cherry picked from commit aec78f41d35e5b12bd90c022fc2666bb15138cee) Signed-off-by: Saravana Kannan <saravanak@google.com>
This commit is contained in:
committed by
Saravana Kannan
parent
e04046b0a3
commit
e221163705
@@ -77,6 +77,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)
|
||||
|
||||
Reference in New Issue
Block a user