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

Paul Fox pgf at foxharp.boston.ma.us
Wed Aug 10 10:31:31 PDT 2011


pierre-louis wrote:
 > >  > 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.

i don't think so.  the 2s happens at the end of playback, not the start.
the trac ticket i referenced explains it pretty well.  (but to answer your
question, yes, i played with it.)

paul
=---------------------
 paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 69.4 degrees)


More information about the pulseaudio-discuss mailing list