summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorSudheer Papothi <spapothi@codeaurora.org>2016-01-29 06:53:48 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:11:00 -0700
commitb2f4078131365d25d7decf0b2020ba8c70a4cc27 (patch)
tree7e90ebbb3e74a0a9da9417ad86895ab953486ded /include/uapi
parenta45d64c35f38f8728e089d9f289e7d7414c6f5b4 (diff)
ASoC: msm: qdsp6v2: Handles additional flac metadata
Currently, metadata such as min/max block size is sent only for first stream in FLAC gapless playback. This causes incorrect configuration and, subsequently, framedrops in decoding of second stream and onwards By sending these additional flac metadata, dsp receives stream-wise metadata and decodes without dropping Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/sound/compress_offload.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h
index 55ca5593a51a..8461cb89906b 100644
--- a/include/uapi/sound/compress_offload.h
+++ b/include/uapi/sound/compress_offload.h
@@ -142,6 +142,8 @@ struct snd_compr_audio_info {
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,
};
/**