long delay after "paplay -s somehost foo.wav"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux