[pulseaudio-discuss] long delay after "paplay -s somehost foo.wav"

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Wed Aug 10 10:24:35 PDT 2011


>  > The 2s delay is likely related to the amount of audio that is
> buffered
>  > by default.
> 
> i've modified the pacat-simple.c example to let me play with the
> pa_buffer_attr passed to pa_simple_new, but can't seem to find a
> combination that avoids the 2s wait.

Have you played with the "prebuf" field? It defines the amount of buffering
before playback starts. By default it is set to the tlength size, that may
explain your 2s wait.
-Pierre



More information about the pulseaudio-discuss mailing list