daemon.conf: Add boolean rescue_streams parameter

Since merge requests

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/209 and
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/216

the rescuing of streams could no longer be disabled. This patch adds a boolean
parameter rescue-streams to daemon.conf which allows to disable rescuing.

The parameter defaults to true (rescuing enabled).
This commit is contained in:
Georg Chini 2020-01-22 08:12:59 +01:00 committed by Tanu Kaskinen
parent 97d0eda256
commit b72f295597
11 changed files with 29 additions and 10 deletions

View file

@ -1062,6 +1062,7 @@ int main(int argc, char *argv[]) {
c->running_as_daemon = conf->daemonize;
c->disallow_exit = conf->disallow_exit;
c->flat_volumes = conf->flat_volumes;
c->rescue_streams = conf->rescue_streams;
#ifdef HAVE_DBUS
c->server_type = conf->local_server_type;
#endif