[pulseaudio-tickets] [PulseAudio] #866: pa_simple_drain() takes much longer (about 2000ms) than expected to complete

PulseAudio trac-noreply at tango.0pointer.de
Thu Oct 14 09:08:30 PDT 2010


#866: pa_simple_drain() takes much longer (about 2000ms) than expected to
complete
---------------------+------------------------------------------------------
  Reporter:  th      |       Owner:  lennart 
      Type:  defect  |      Status:  new     
 Milestone:          |   Component:  libpulse
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------

Comment(by th):

 Here's the test program output with automatic linewrap removed...:

 {{{
 $ ./beep
 [0.039147] playing 440 hz tone volume 50 for 500 ms
 [0.291107] play done
 [0.291116] not calling pa_simple_drain()
 [0.293467] playing 680 hz tone volume 50 for 500 ms
 [0.855440] play done
 [0.855459] not calling pa_simple_drain()
 [0.857808] playing 440 hz tone volume 50 for 500 ms
 [1.312107] play done
 [3.544309] pa_simple_drain() done
 [3.546687] playing 680 hz tone volume 50 for 500 ms
 [3.798973] play done
 [6.132183] pa_simple_drain() done
 [6.134535] playing 440 hz tone volume 50 for 500 ms
 [6.386808] play done
 [6.386824] not calling pa_simple_drain()
 [6.386851] playing 440 hz tone volume 0 for 500 ms
 [6.951772] play done
 [6.951789] not calling pa_simple_drain()
 [6.956659] playing 880 hz tone volume 50 for 1000 ms
 [7.912965] play done
 [10.144917] pa_simple_drain() done
 }}}

 And the gcc command was supposed to be:

 {{{
 gcc `pkg-config --cflags --libs libpulse-simple` -o beep beep.c
 }}}

-- 
Ticket URL: <http://pulseaudio.org/ticket/866#comment:2>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list