[alsa-devel] snd_pcm_drain and lockups

Arve Knudsen arve.knudsen at gmail.com
Tue Sep 4 23:03:27 CEST 2007


Users of the PortAudio library on top of ALSA-lib have reported that it may
hang in a call to snd_pcm_drain. I have also been able to confirm that this
can happen in conjunction with the dmix device at least. Can the ALSA
developers please tell me how, if at all, snd_pcm_drain may be safely used?
Is this function simply best avoided (snd_pcm_drop being the alternative)?

Arve Knudsen

More information about the Alsa-devel mailing list