ASoC: msm: Update the encode option and sample rate
Populate the sample rate, encode option in wma config params. WMA V9 and WMA Pro tunnel-mode supports are added to compressed driver. It allows user-space application to decode WMA V9 and WMA Pro audio stream through QDSP6. 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. CRs-Fixed: 367243, 367242 Change-Id: Ieeb9d302454d3935faa51cac77021e7c1d77012c Signed-off-by:Aviral Gupta <aviralg@codeaurora.org> Signed-off-by:
Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by:
Meng Wang <mwang@codeaurora.org>
Loading
Please register or sign in to comment