<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Pulseaudio must contain priority queue or at least prior device."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91215">91215</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Pulseaudio must contain priority queue or at least prior device.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>modules
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yanpaso@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Today is 2015 and Pulseaudio still doesn't have priopity queue, or at least
prior sound device. Let me show what I mean:
For example I have 3 audio sinks (same for sources): sn1; sn2 and sn3. (I have
connected them at least once, Pulseaudio knows them and keeps their list at
~/.config/pulse/sinks.list for example). 
I turn on my PC, I have only sn1 connected, so it becomes default, then I
connect sn2 and mark it manually as default. Now Pulseaudio knows that when sn1
is connected, sn2 is more preferable. Then I connect sn3 and mark it as
default. Now sn3 has top priority. I disconnect sn3 and sn2 becomes default.
Then I disconnect sn1, sn2 stays default. Then I connect sn3 and sn3 becomes
default, cause it has top priority. Then I connect again sn1 and sn3 still
default. It's ideal behavior for sinks and sources.
There is other option - store only one, manually selected default sink/source
(seems that something like this implemented in Windows 7). How it works: I boot
PC with only sn1 connected, connect sn2, amke it default manually. And now
everytime I connect sn2, it will always become default, whatever devices are
connected.

Why it should be implemented? Imagine gamer with USB headset. Each time he
plugs it - he is to manually set it as default. module-switch-on-connect is bad
workaround.

For example it could be implemented as switch-on-default-sink and
switch-on-default-source modules.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>