On Thu, 21 Feb 2002, Jaroslav Kysela wrote: >> Btw; shouldn't that be 'avail > pcm->stop_threshold'...? For > Yes, but in this case avail == 0, so the XRUN doesn't occur. But it's > true, that the check for XRUN should be active only when PCM state is > RUNNING. I'll correct it soon.
Ok, sounds good. One thing to remember is that if stream is already in XRUN state, snd_pcm_hw_avail_update() should always return -EPIPE. -- http://www.eca.cx Audio software for Linux! _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel