GNOME Bugzilla – Bug 590678
pulseaudiosrc doesn't come back online after stopping then starting
Last modified: 2009-08-24 14:36:22 UTC
when using a simple pipeline such as pulsesrc ! capsfilter ! rgvolume ! queue ! autoaudiosink, the audio plays back fine the first time, however if I set the pipeline's state to NULL, wait a second, then start it up again, no information is played back anymore.
Could you attach some sample code to reproduce this behaviour?
Created attachment 139906 [details] small code segment that properly reproduces the bug In the command declaration, you will need to change the device= to whatever pulsesrc is attached to your machine. When you run the program, you should notice the audio plays back just find when I first startup the pipeline, but when you set the pipeline's state to null, then back to started up, the audio will only playback for about half a second before it stops playing back completely. Email me with any questions you have.
Yes, I can reproduce it here. gdb output and backtrace is is: Assertion 's' failed at pulse/stream.c:1932, function pa_stream_cork(). Aborting. Program received signal SIGABRT, Aborted. (gdb) bt
+ Trace 216923
Wim, any ideas?
Hm, that's only when providing an invalid device... but it still shouldn't explode then ;) When providing a valid device it works but I can't test it here because I have no microphone, sorry
*** This bug has been marked as a duplicate of bug 578506 ***
Created attachment 141558 [details] [review] possible patch A possible patch for the weird assertion.