On Thu, 2010-11-11 at 12:17 +1300, Matthew Gregan wrote: > I've been debugging a situation where snd_pcm_drain takes an unusually long > time when using the alsa-pulse plugin. I reduced the testcase to a one > using the PA client API directly as the culprit seems to be the operation > returned by pa_stream_drain takes an unusually long time to complete. I've > attached the testcase if anyone's interested. Thanks for this report. The issue is known, see this bug: http://pulseaudio.org/ticket/866 -- Tanu