summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorManish Dewangan <manish@codeaurora.org>2016-12-20 17:02:42 +0530
committerManish Dewangan <manish@codeaurora.org>2017-02-27 19:05:30 +0530
commit8a4c586f7baee37937b745cff387d679c59f716d (patch)
treee167670a90070276f42c743e36c9c36fb8c9f4ae /include/uapi
parenta66dbe84845ba61b2d6bd7eb95bed592cf60e824 (diff)
ASoC: msm: qdsp6v2: Get path delay support in compress path
Compress driver changes to query DSP path delay. CRs-Fixed: 1112258 Change-Id: I68d40daa0fa59c9a39d83ffc8517b0852a57ae05 Signed-off-by: Manish Dewangan <manish@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/sound/compress_offload.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h
index e04ccf0b6e8b..ef7ab49583da 100644
--- a/include/uapi/sound/compress_offload.h
+++ b/include/uapi/sound/compress_offload.h
@@ -138,14 +138,18 @@ struct snd_compr_audio_info {
* end of the track
* @SNDRV_COMPRESS_ENCODER_DELAY: no of samples inserted by the encoder at the
* beginning of the track
+ * @SNDRV_COMPRESS_PATH_DELAY: dsp path delay in microseconds
*/
enum sndrv_compress_encoder {
SNDRV_COMPRESS_ENCODER_PADDING = 1,
SNDRV_COMPRESS_ENCODER_DELAY = 2,
SNDRV_COMPRESS_MIN_BLK_SIZE = 3,
SNDRV_COMPRESS_MAX_BLK_SIZE = 4,
+ SNDRV_COMPRESS_PATH_DELAY = 5,
};
+#define SNDRV_COMPRESS_PATH_DELAY SNDRV_COMPRESS_PATH_DELAY
+
/**
* struct snd_compr_metadata - compressed stream metadata
* @key: key id