Add the ability to specify media.role for pulse output plugin

This is useful in multiple mpd instances scenario, or multiple pulse outputs defined on the same mpd instance.
It is actually a more flexible way to route flows than the "sink" parameter, letting the PulseAudio routing do its job, but with the ability to isolate routing for each output.

If not specified, the role remains like it was before this commit, ie "music"
This commit is contained in:
ckdo
2019-07-16 12:55:53 +02:00
committed by Max Kellermann
parent 4f6a713b32
commit d305f187d5
4 changed files with 17 additions and 3 deletions

1
NEWS
View File

@@ -14,6 +14,7 @@ ver 0.22 (not yet released)
- volume: convert S16 to S24 to preserve quality and reduce dithering noise
* output
- jack: add option "auto_destination_ports"
- pulse: add option "media_role"
* switch to C++17
- GCC 7 or clang 4 (or newer) recommended