mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-01 01:07:59 +02:00
audio-endpoint: configure adapter for null sink with monitor.channel-volumes
This allows the channelVolumes and mute props to affect the output of the null sink's monitor ports. This way we will be able to use channelVolumes to track the configured volume of the endpoint and the monitorVolumes to implement volume ducking.
This commit is contained in:
parent
44c96b6c49
commit
bc1413e1cd
1 changed files with 1 additions and 0 deletions
|
|
@ -225,6 +225,7 @@ si_audio_endpoint_enable_active (WpSessionItem *si, WpTransition *transition)
|
|||
PW_KEY_FACTORY_NAME, "support.null-audio-sink",
|
||||
PW_KEY_NODE_DESCRIPTION, desc,
|
||||
SPA_KEY_AUDIO_POSITION, "FL,FR",
|
||||
"monitor.channel-volumes", "true",
|
||||
NULL));
|
||||
if (!self->node) {
|
||||
wp_transition_return_error (transition,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue