pipewire/src/examples
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
..
media-session dbus: make sure we don't unref a NULL dbus connection 2021-05-26 10:52:38 +02:00
audio-dsp-filter.c examples: catch signal and clean up 2020-06-03 15:26:54 +02:00
audio-dsp-src.c examples: catch signal and clean up 2020-06-03 15:26:54 +02:00
audio-src.c examples: catch signal and clean up 2020-06-03 15:26:54 +02:00
bluez-session.c treewide: replace strcmp() != 0 with !spa_streq 2021-05-18 22:10:27 +10:00
export-sink.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
export-source.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
export-spa-device.c fix compilation 2020-11-20 12:51:51 +01:00
export-spa.c fix compilation 2020-11-20 12:51:51 +01:00
local-v4l2.c spa/buffer: rename SPA_MEMBER to SPA_PTROFF 2021-05-06 09:39:39 +00:00
meson.build examples: depend on libinotify on FreeBSD 2021-04-23 21:00:44 +03:00
sdl.h Run codespell on the entire codebase 2020-08-17 17:16:31 +00:00
video-dsp-play.c examples: don't use lrintf for each sample 2020-03-18 17:40:26 +01:00
video-play-reneg.c examples: only announce SPA_DATA_MemPtr 2021-01-01 21:12:00 +01:00
video-play.c spa/buffer: rename SPA_MEMBER to SPA_PTROFF 2021-05-06 09:39:39 +00:00
video-src-alloc.c spa/buffer: rename SPA_MEMBER to SPA_PTROFF 2021-05-06 09:39:39 +00:00
video-src-reneg.c spa/buffer: rename SPA_MEMBER to SPA_PTROFF 2021-05-06 09:39:39 +00:00
video-src.c spa/buffer: rename SPA_MEMBER to SPA_PTROFF 2021-05-06 09:39:39 +00:00