[pulseaudio-tickets] [Bug 102987] The "pacmd set-default-sink" command doesn't work anymore (as of v11.x)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 5 14:11:41 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102987

--- Comment #5 from Nils Alex <nils at famalex.de> ---
This seems to be not a bug but desired behaviour. After
pa_core_set_configured_default_sink() has set up the new default sink, the
function pa_core_update_default_sink() is called.

If your new sink is not linked (that is, not SUSPENDED, IDLE or RUNNING) or if
it is linked but all outputs are unavailable, this function will set a "better"
sink as default sink.

In my case, the new sink is an HDMI sink and I tried the command while not
being connected to any HDMI device. pa_core_set_configured_default_sink() did
what it should do, but afterwards pa_core_update_default_sink() set the default
sink to my old one.

For my use case this behaviour is actually nice, but maybe one should be able
to set sinks without available output as default if one really wants to? At
least I can see why this could be useful.


Could you post your output from

pactl list sinks

?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20171005/53142398/attachment.html>


More information about the pulseaudio-bugs mailing list