<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 - module-device-manager reroutes streams too eagerly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95202">95202</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>module-device-manager reroutes streams too eagerly
</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>tanuk@iki.fi
</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>Whenever something changes on a stream, module-device-manager (with
do_routing=true) will re-evaluate the stream's routing to react to stream role
changes. module-device-manager will not reroute streams that have
pa_sink_input.save_sink set, which avoids rerouting of manually routed streams
most of the time.
When an application creates a new playback stream, it may set the sink for the
new stream. That counts as manual routing, so device-manager should not reroute
the stream as long as the requested sink stays available, but such streams
don't have save_sink set, so rerouting does happen.
An example:
paplay --device=foo somefile.ogg
That will play the audio to sink "foo", which in this example is not what
device-manager would prefer to use. Now let's change the volume:
pactl set-sink-input-volume 42 +5%
That volume change will trigger rerouting in device-manager, so the stream gets
moved to a different sink!
We should make it possible to distinguish between all three cases:
* manually routed streams with persistent device configuration (can be done
currently by checking save_sink == true)
* manually routed streams with ephemeral device configuration (can't be done
currently, except during stream creation)
* automatically routed streams (can be done currently by checking save_sink ==
false)</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>