[alsa-devel] safe support for rewind in ALSA

Clemens Ladisch clemens at ladisch.de
Wed Feb 10 14:36:37 CET 2010


Raymond Yau wrote:
> ...
> The rest of those sound cards which have period_mins = 1 are regarded as
> broken by PA developer  (e.g. intel8x0 ,emu10k1 , ens1371 , ... ) and aplay
> did not work with one period per buffer too.
> 
> what is the hardware requirement for the driver to support one period per
> buffer ?

That the hardware can be programmed to generate only one interrupt per
buffer.

> if none of the those driver can be fixed
>  why don't we change the period_min of all those broken drivers from 1 to 2
> ?

Because period_min has nothing to do with the brokenness.  PA wants to
use as few periods as possible because it does not use period interrupts
but the DMA pointer, and it's the latter that is broken.


Regards,
Clemens


More information about the Alsa-devel mailing list