[alsa-devel] [PATCH] Don't check if period size is equal to buffer size
Takashi Iwai
tiwai at suse.de
Fri Oct 2 10:50:01 CEST 2009
At Fri, 2 Oct 2009 10:45:31 +0200 (CEST),
Jaroslav Kysela wrote:
>
> On Tue, 15 Sep 2009, Lubomir Rintel wrote:
>
> > At least some drivers seem to allow a single period and those which
> > don't would correct us anyway. Moreover, Pulseaudio with tsched sets
> > this frequently.
>
> I'm afraid, but this patch is not enough. At least chunk_size should be
> less than buffer_size otherwise you'll get underrun immediately.
Yep, period=1 makes sense only for the system doing scheduling by
itself.
thanks,
Takashi
More information about the Alsa-devel
mailing list