<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - The "pacmd set-default-sink" command doesn't work anymore (as of v11.x)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102987#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - The "pacmd set-default-sink" command doesn't work anymore (as of v11.x)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102987">bug 102987</a>
              from <span class="vcard"><a class="email" href="mailto:nils@famalex.de" title="Nils Alex <nils@famalex.de>"> <span class="fn">Nils Alex</span></a>
</span></b>
        <pre>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

?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>