Re: XRUN handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux