From b2f4078131365d25d7decf0b2020ba8c70a4cc27 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Fri, 29 Jan 2016 06:53:48 +0530 Subject: [PATCH] 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 Signed-off-by: Banajit Goswami Signed-off-by: Sudheer Papothi --- include/uapi/sound/compress_offload.h | 2 ++ 1 file changed, 2 insertions(+) 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, }; /**