From 3e18aa8eca68cb86ace97c3d9ee41bca53e7ef6a Mon Sep 17 00:00:00 2001 From: Alexy Joseph Date: Thu, 10 Sep 2015 00:12:07 -0700 Subject: [PATCH] ASoC: msm: qdsp6v2: Handle additional codec specific metadata Codec specific metadata is sent only for first stream in gapless playback. This causes incorrect configuration to be set for second stream and distortions are observed due to framedrops in adsp. Add support to send codec specific format during start of next stream in gapless. Add bit rate to wma codec data structure as it can vary between streams in gapless. Change-Id: I39f34ea1addff720612fe3e06257e7d75889e574 Signed-off-by: Chaithanya Krishna Bacharaju Signed-off-by: Alexy Joseph Conflicts: sound/soc/msm/qdsp6v2/msm-compress-q6-v2.c --- include/uapi/sound/compress_params.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h index 1eb61d347d95..ecb05356d85c 100644 --- a/include/uapi/sound/compress_params.h +++ b/include/uapi/sound/compress_params.h @@ -263,6 +263,7 @@ struct snd_enc_wma { __u32 encodeopt; __u32 encodeopt1; __u32 encodeopt2; + __u32 avg_bit_rate; };