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
CRs-Fixed: 781837
Change-Id: I02e8d44cf481159982d7451f0a79f26dbeafa230
Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
diff --git a/include/sound/compress_offload.h b/include/sound/compress_offload.h
index 5a5599a..4292802 100644
--- a/include/sound/compress_offload.h
+++ b/include/sound/compress_offload.h
@@ -131,6 +131,8 @@
enum {
SNDRV_COMPRESS_ENCODER_PADDING = 1,
SNDRV_COMPRESS_ENCODER_DELAY = 2,
+ SNDRV_COMPRESS_MIN_BLK_SIZE = 3,
+ SNDRV_COMPRESS_MAX_BLK_SIZE = 4,
};
/**