[pulseaudio-discuss] purpose of pa_core_check_idle()

Mohan R mohan43u at gmail.com
Thu Aug 8 08:20:41 PDT 2013


Hi,

for one of my purpose, I have to stop the pulseaudio process started
with my gnome-session and started a new pulseaudio process as different
user then the current gnome-session user using below commandline, (both
users have autospawn=no, daemon-binary=/bin/true in their
respective .config/pulse/client.conf)

pulseaudio --start --daemonize --log-target=file:pulseaudio.log
--log-level=debug --log-meta --log-time

Then I waited for 10mins, the new pulseaudio process still present. I
started playing a gst pipeline, even though I didn't hear any sound, the
pipeline was playing without any issue and finished properly.

After few seconds, I played the same gst pipeline again, this time it
showed some error "Internal streaming error". When I looked into gst
debug logs, pulsesink0 says "connection refused", then I checked pulse
process. it was gone.

The log says,

( 593.952|  15.009) I: [pulseaudio][pulsecore/core.c:223 exit_callback()] We are idle, quitting...
( 593.952|   0.000) I: [pulseaudio][daemon/main.c:1148 main()] Daemon shutdown initiated.

I'm not sure why pulseaudio goes down itself after a playback. Is it a bug? or am I doing something wrong?

Thanks,
Mohan R



More information about the pulseaudio-discuss mailing list