pipewire/spa/plugins/alsa
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
..
acp Revert "acp: use the right profile name and description" 2021-04-27 16:43:13 +02:00
mixer alsa: sync with pulseaudio 2021-02-25 10:28:25 +01:00
90-pipewire-alsa.rules acp: sync with pulseaudio 2020-12-17 12:04:18 +01:00
acp-tool.c Rework profile/route handling 2021-02-22 16:51:59 +01:00
alsa-acp-device.c spa: improve volume handling 2021-04-29 12:46:29 +02:00
alsa-pcm-device.c pipewire-pulse: set correct errno values 2021-03-19 12:46:05 +01:00
alsa-pcm-sink.c alsa: add start-delay parameters to sink 2021-03-29 13:20:14 +02:00
alsa-pcm-source.c spa: improve info parsing 2021-03-18 18:40:56 +01:00
alsa-pcm.c alsa: add start-delay parameters to sink 2021-03-29 13:20:14 +02:00
alsa-pcm.h alsa: add start-delay parameters to sink 2021-03-29 13:20:14 +02:00
alsa-seq-bridge.c alsa-seq: tweak port names some more 2021-04-01 19:43:28 +02:00
alsa-seq.c alsa: initialize reserve array 2021-03-30 09:40:10 +02:00
alsa-seq.h alsa: refactor dll code 2020-12-09 12:09:40 +01:00
alsa-udev.c alsa: remove device if inotify reports it's no longer accessible 2021-04-11 16:38:10 +00:00
alsa.c alsa-acp: Add libacp based card device 2020-07-06 12:20:09 +02:00
dll.h alsa: refactor dll code 2020-12-09 12:09:40 +01:00
meson.build alsa: depend on epoll-shim and libinotify on FreeBSD 2021-04-23 20:52:24 +03:00
test-timer.c spa: Fix a compiler warning caused by unchecked read() 2020-12-24 17:54:32 +02:00