[pulseaudio-discuss] Prevent sound being lost on all applications after a pulseaudio restart?

Ahmed S. Darwish darwish.07 at gmail.com
Mon Jun 20 20:02:03 UTC 2016


On Mon, Jun 20, 2016 at 09:11:27AM +0300, Laszlo KERTESZ wrote:
> Hello,
> Is this possible to somehow configure pulseaudio in such a way that a
> restart of the daemon will not prevent already running applications from
> using sound?

Maybe the right question is, why are you restarting the PA daemon?

Restarts should only be done on extreme daemon misbehavior, which
is a bug that should be fixed, or by the real-time threads
over-using their allocated budget and thus killed by rtkit to
maintain overall system usability.

Please explain your use case more thoroughly ..

Morover, the PulseAudio communication protocol, mostly over the
$XDG_RUNTIME_DIR/pulse/native unix socket, requires several
handshake commands before sending audio packets from client to
the server or vice versa. AFAIK there is no state persisting
across daemon reboots.



More information about the pulseaudio-discuss mailing list