[alsa-devel] a11y: howto reduce latency with alsa's dmix plugin?

Takashi Iwai tiwai at suse.de
Fri Sep 4 00:07:55 CEST 2009

At Wed, 02 Sep 2009 10:56:17 +0200,
Halim Sahin wrote:
> On Di, Sep 01 2009, Takashi Iwai wrote:
> > At best, we need a small C code that reproduces the behavior.
> Ok here is a small example.
> It's a modified version of pcm_min.c.
> Simply press ctrl+c to reproduce the problematic behaviour.
> on my machine it takes about an half sek to stop with an usb head which
> uses dmix.

Hmm, I cannot reproduce the problem, at least, dmix + HD-audio.
After removing sleep(1), it quits immediately.

Doesn't this problem happen if you use usb-audio with "hw" PCM?

It's possible that the behavior of snd_pcm_drop() of usb-audio is
different from others because of URB handling.


More information about the Alsa-devel mailing list