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

@ -255,6 +255,15 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
to <opt>no</opt>.</p>
</option>
<option>
<p><opt>rescue-streams=</opt> Enable rescuing of streams if the
used sink or source becomes unavailable. Takes a boolean argument.
If set to <opt>yes</opt>, pulseaudio will try to move the streams
from a sink or source that becomes unavailable to the default sink
or source. If set to <opt>no</opt>, streams will be killed if the
corresponding sink or source disappears. Defaults to <opt>yes</opt>.</p>
</option>
</section>
<section name="Scheduling">