pipewire/spa/plugins/bluez5
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
..
a2dp-codec-aac.c a2dp: set marker bit on AAC header 2021-04-10 04:51:16 +08:00
a2dp-codec-aptx.c a2dp: improve a2dp sink codec data flushing 2021-03-31 11:14:58 +00:00
a2dp-codec-ldac.c a2dp: fix a problem in b9d1b818 2021-03-31 19:33:21 +08:00
a2dp-codec-sbc.c a2dp: improve a2dp sink codec data flushing 2021-03-31 11:14:58 +00:00
a2dp-codecs.c bluez5: support device capability checks beyond A2DP caps + split sbc-xq to separate codec 2021-02-02 09:56:29 +00:00
a2dp-codecs.h a2dp: improve a2dp sink codec data flushing 2021-03-31 11:14:58 +00:00
a2dp-sink.c improve debug 2021-04-28 17:04:16 +02:00
a2dp-source.c a2dp: handle source transport destroy 2021-04-15 06:59:19 +00:00
backend-hsphfpd.c bluez5: more cleanup on impl_clear 2021-04-10 23:07:51 +03:00
backend-native.c bluez5: don't unregister HFP/HSP profiles when shutting down 2021-04-26 08:23:29 +00:00
backend-ofono.c bluez5: more cleanup on impl_clear 2021-04-10 23:07:51 +03:00
bluez5-dbus.c bluez5: cache a2dp volumes activation info 2021-04-21 08:54:10 +00:00
bluez5-device.c spa: improve volume handling 2021-04-29 12:46:29 +02:00
defs.h bluez5: cache a2dp volumes activation info 2021-04-21 08:54:10 +00:00
meson.build bluez5: add hardware volume support 2021-04-17 19:07:35 +08:00
plugin.c monitor: remove monitor API and use device 2019-09-20 13:04:14 +02:00
README-SBC-XQ.md bluez5: add SBC XQ readme 2021-01-07 09:54:16 +01:00
rtp.h Add bluez5 plugins 2018-01-16 15:19:55 +01:00
sco-io.c bluez5: sco-io: fallback packet size when read size unknown should be even 2021-03-09 08:03:21 +00:00
sco-sink.c sco-sink: fix no sound issue if first port buffur size is less than write MTU 2021-03-22 14:03:45 +08:00
sco-source.c bluez5: adjust sco-source behavior as a follower 2021-03-28 14:15:26 +03:00