pipewire/spa/include/spa
Wim Taymans 5bf2144438 spa: improve volume handling
Make a new softVolume property that contains only the soft volume
to apply.

In the case of HW/SW volume, we pass the real volume in the
channelVolume and the leftover volume in softVolume. We don't
use the monitorVolume for this anymore because it is a completely
separate volume handled by the merger node.

This way, channelVolume always represents the effective volume
set on routes, channelmix and merger and only the softVolume (when
available) is applied as software volume by channelmix.

This makes things map a bit better to what is actually happening with
the real volume and leftover software volumes after applying the
hardware volumes in the device.

With this change, the volume on the monitor is not affected by the
sink volume anymore and we can use the monitorVolume for this later.

This also means that the monitor volume in pavucontrol of the sinks
does not change when the sink volume changes. PulseAudio is inconsistent
here: If the volume is HW, the monitor volume is not affected, if the
volume is SW, it is. In PipeWire there is an option in merger to
let the volume affect the monitor with monitor.channel-volumes = true.
2021-04-29 12:46:29 +02:00
..
buffer meta: add busy metadata 2021-01-21 17:46:47 +01:00
control control: clean up some control includes 2019-09-16 15:49:46 +02:00
debug spa: fix array type info 2020-12-15 16:06:10 +01:00
graph graph: make pending/required fields signed 2020-01-31 13:36:44 +01:00
monitor bluez5: add device.string in properties 2021-03-18 12:44:09 +01:00
node treewide: fix issues found by codespell 2021-03-16 19:11:25 +00:00
param spa: improve volume handling 2021-04-29 12:46:29 +02:00
pod pod: handle various ways of making empty array/choice 2021-01-25 10:55:30 +01:00
support spa: add property to force VM 2021-04-16 16:50:34 +02:00
utils media-session: improve bluetooth icon name 2021-04-19 13:21:32 +02:00