[PATCH 10/11] ASoC: qdsp6-dai: add gapless support

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Jul 7 19:07:17 CEST 2020



On 7/7/20 11:36 AM, Srinivas Kandagatla wrote:
> Add support to gapless playback by implementing metadata,
> next_track, drain and partial drain support.
> 
> Gapless on Q6ASM is implemented by opening 2 streams in a single asm stream

What does 'in a single asm stream' means?

> and toggling them on next track.

It really seems to me that you have two streams at the lowest level, 
along with the knowledge of how many samples to remove/insert and hence 
could do a much better job - including gapless support between unrelated 
profiles and cross-fading - without the partial drain and next_track 
mechanism that was defined assuming a single stream/profile.



More information about the Alsa-devel mailing list