[alsa-devel] XRUN handling

Clemens Ladisch clemens at ladisch.de
Tue Jul 6 08:29:03 CEST 2010

melwyn lobo wrote:
> In case snd_pcm_playback_avail() is less than stop threshold but
> greater than 0, then these bytes are missing after Xrun prepare and
> start stage.

Preparing a stream resets it, i.e., any data currently in the buffer
is discarded.

If you want to have data in the buffer after preparing, you have to
write it again.


More information about the Alsa-devel mailing list