[alsa-devel] XRUN handling
melwyn lobo
linux.melwyn at gmail.com
Tue Jul 6 13:05:21 CEST 2010
Adding mailing list to copy:
- Hide quoted text -
> 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.
>
Thanks for the confirmation. Our client is working on aplay to test
our driver in which already there is this issue.
Is there any workaround in kernel/driver space that could be done or
it can only be fixed in aplay.
Regards
M.
More information about the Alsa-devel
mailing list