#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
_______________________________________________
pulseaudio-tickets mailing list
pulseaudio-tickets@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets

Reply via email to