mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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. |
||
|---|---|---|
| .. | ||
| a2dp-codec-aac.c | ||
| a2dp-codec-aptx.c | ||
| a2dp-codec-ldac.c | ||
| a2dp-codec-sbc.c | ||
| a2dp-codecs.c | ||
| a2dp-codecs.h | ||
| a2dp-sink.c | ||
| a2dp-source.c | ||
| backend-hsphfpd.c | ||
| backend-native.c | ||
| backend-ofono.c | ||
| bluez5-dbus.c | ||
| bluez5-device.c | ||
| defs.h | ||
| meson.build | ||
| plugin.c | ||
| README-SBC-XQ.md | ||
| rtp.h | ||
| sco-io.c | ||
| sco-sink.c | ||
| sco-source.c | ||