From 86e9c901289d2e1a3c2c6cb5885294a829f3eb27 Mon Sep 17 00:00:00 2001 From: Georg Chini Date: Mon, 20 Mar 2023 21:35:10 +0100 Subject: [PATCH] pactl, pacmd: Allow to unset the configured default sink or source Currently there is no way to unset the default sink or source once it was configured manually by the user. This patch introduces the special name @NONE@, which can be used with the pacmd or pactl set-default-sink and set-default-source commands to unset the user configured default. When the default is unset, pulseaudio will return to the standard default sink or source selection mechanism based on priority. Part-of: --- man/pactl.1.xml.in | 8 ++++++-- man/pulse-cli-syntax.5.xml.in | 6 ++++-- src/pulsecore/cli-command.c | 8 ++++++-- src/pulsecore/protocol-native.c | 28 +++++++++++++++++++--------- 4 files changed, 35 insertions(+), 15 deletions(-) diff --git a/man/pactl.1.xml.in b/man/pactl.1.xml.in index d4eb03458..ca365dc23 100644 --- a/man/pactl.1.xml.in +++ b/man/pactl.1.xml.in @@ -174,7 +174,9 @@ License along with PulseAudio; if not, see .