mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
ALSA: compress: Add support to send codec specific data
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 using set_next_track_param. Change-Id: Ic0a9286c4fd8d17df63d676d6ce14cd394dea791 Signed-off-by: Chaithanya Krishna Bacharaju <[email protected]> Signed-off-by: Alexy Joseph <[email protected]> Signed-off-by: Banajit Goswami <[email protected]> Signed-off-by: Meng Wang <[email protected]>
This commit is contained in:
parent
a70116e190
commit
7913e574a9
4 changed files with 68 additions and 0 deletions
|
|
@ -183,6 +183,10 @@ partial drain
|
|||
EOF is reached and now DSP can start skipping padding delay. Also next write
|
||||
data would belong to next track
|
||||
|
||||
- set_next_track_param
|
||||
This routine is called to send to DSP codec specific data of subsequent track
|
||||
in gapless before first write.
|
||||
|
||||
Sequence flow for gapless would be:
|
||||
- Open
|
||||
- Get caps / codec caps
|
||||
|
|
|
|||
Loading…
Reference in a new issue