[alsa-devel] [PATCH] tinycompress: add gapless meta data APIs

Richard Fitzgerald rf at opensource.wolfsonmicro.com
Fri Feb 22 17:24:10 CET 2013

I'd prefer that we don't require that a next track has been set in order to be
able to call a partial_drain. It would be awkward to implement in Android
because the decision to append the next track to the end of the current stream
and pass down metadata is made in a higher level of code than the part which
handles issuing drain control and there's no actual synchronization between
these two operations or knowledge in the lower (drain-handling) level of any
notion of gapless playback.

A partial drain just drains to the end of the current track... it doesn't really
matter whether that happens to be the last track.

More information about the Alsa-devel mailing list