[alsa-devel] [PATCHv2 1/1] pcm_pulse: set prebuf parameter according to software parameters
Takashi Iwai
tiwai at suse.de
Tue Nov 20 08:57:44 CET 2012
At Tue, 20 Nov 2012 08:51:29 +0100,
David Henningsson wrote:
>
> On 11/19/2012 07:09 PM, Takashi Iwai wrote:
> > At Sun, 18 Nov 2012 12:01:49 +0200,
> > Rémi Denis-Courmont wrote:
> >>
> >> The current default value for prebuf is very high, almost the full
> >> virtual ALSA buffer. This breaks some application especially where
> >> low latency is involved.
> >>
> >> This patch makes pcm_pulse implement the sw_params callback and get
> >> the prebuf value from the ALSA software parameters. Thus the
> >> trigger latency is much more like what an ALSA application should
> >> expect from an ALSA PCM device.
> >
> > Looks good to me. David, could you review?
>
> I think so too.
>
> Acked-by: David Henningsson <david.henningsson at canonical.com>
OK, applied. Thanks.
Takashi
More information about the Alsa-devel
mailing list