[pulseaudio-tickets] [Bug 101201] New: Add a way to override priority of sinks - mostly for module-combine-sinks
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 26 13:06:54 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101201
Bug ID: 101201
Summary: Add a way to override priority of sinks - mostly for
module-combine-sinks
Product: PulseAudio
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: core
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: myst at focks.pw
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
This is a bit hard to describe. I'd really like to see a way to manually set
priorities on sinks. I recently got a portable DAC, and I wanted to use it when
plugged in and fall back on module-combine-sink otherwise - mostly because I
often use a program that cannot handle changing sinks. This however means I
needed my priorities to be correctly ordered. After fixing the identification
of my DAC on the udev side, and switching to running a git build to have recent
fixes like https://bugs.freedesktop.org/show_bug.cgi?id=99222, I ran into that
I wanted the module-combine-sink sink to be above my internal card but below my
DAC. I solved this for now with `load-module module-combine-sink
sink_properties='device.class="sound" device.form_factor="speaker"'
`, but that's faking out the priority setting to get the right order, not doing
it any sort of "right".
I'm imagining adding a proplist entry of some naming that lets you outright set
the priority, and there would be a check at the start of
pa_device_init_priority in sink.c that would outright set the priority if it
was a valid value. I'd like to know, though, how that sounds, what people
think, ideas about the name, if there's anything big I might be missing, before
I try to work on a patch.
--
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/20170526/1d82dd78/attachment.html>
More information about the pulseaudio-bugs
mailing list