summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexy Joseph <alexyj@codeaurora.org>2015-09-10 00:12:07 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:11:07 -0700
commit3e18aa8eca68cb86ace97c3d9ee41bca53e7ef6a (patch)
treedbec5805775170ee353896e570daf66bcce94137
parent579b5a94176cabd6a7b8f65f04426070f0513d15 (diff)
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 <chaithan@codeaurora.org> Signed-off-by: Alexy Joseph <alexyj@codeaurora.org> Conflicts: sound/soc/msm/qdsp6v2/msm-compress-q6-v2.c
-rw-r--r--include/uapi/sound/compress_params.h1
1 files changed, 1 insertions, 0 deletions
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;
};