pipewire/spa/plugins/bluez5
Wim Taymans 46ef88e520 spa: save the old change_mask and restore when emitting full
When we add a new listener to an object, it will emit the full state
of the object. For this it temporarily sets the change_mask to all
changes. Restore the previous state after this or else we might not
emit the right change_mask for the next listener.

Consider the case where one there are two listeners on an object.
The object emits a change and the first listener wants to enumerate the
changed params. For this is adds a new listener and then triggers the
enumeration. If we set the change_mask to 0 after adding the listener,
the second listener would get a 0 change_mask and fail to update
its state.
2021-05-27 15:21:44 +02:00
..
a2dp-codec-aac.c bluez5: add properties for A2DP codec sample rate & channel mode configuration 2021-05-03 10:07:42 +00:00
a2dp-codec-aptx.c bluez5: add properties for A2DP codec sample rate & channel mode configuration 2021-05-03 10:07:42 +00:00
a2dp-codec-ldac.c treewide: replace !strcmp() with spa_streq() 2021-05-18 22:10:27 +10:00
a2dp-codec-sbc.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
a2dp-codecs.c bluez5: add properties for A2DP codec sample rate & channel mode configuration 2021-05-03 10:07:42 +00:00
a2dp-codecs.h bluez5: add properties for A2DP codec sample rate & channel mode configuration 2021-05-03 10:07:42 +00:00
a2dp-sink.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
a2dp-source.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
backend-hsphfpd.c spa: add spa_atob() to convert a string to a boolean 2021-05-18 22:18:56 +10:00
backend-native.c spa: add spa_atob() to convert a string to a boolean 2021-05-18 22:18:56 +10:00
backend-ofono.c spa: add spa_atob() to convert a string to a boolean 2021-05-18 22:18:56 +10:00
bluez5-dbus.c bluez: fix a memleak on error 2021-05-26 10:03:43 +02:00
bluez5-device.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
defs.h Fix typos 2021-04-30 07:40:20 +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 spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
sco-source.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00