[alsa-devel] safe support for rewind in ALSA

Clemens Ladisch clemens at ladisch.de
Thu Feb 11 08:20:53 CET 2010


Raymond Yau wrote:
> Are the one period per buffer designed for specific purpose such as
> playing/looping the pre-loaded soundfont ?

No, it's just a consequence of how the card's DMA controller is designed.

> Other than pulseaudio , are there any application use this mode  properly
> without glitch ?

The number of periods has nothing to do with glitching.

> Do you mean that PA only wake up once when configure sound card to use two
> periods per buffer ?

When using two periods per buffer, ALSA tries to wake up PA two times.
However, PA ignores the sound card's interrupts and is woken up by its
own timer.


Regards,
Clemens


More information about the Alsa-devel mailing list