pipewire/spa/plugins/alsa
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
..
acp alsa: free the strdup'd substring on error 2021-05-26 10:03:49 +02:00
mixer alsa-profiles: Add NI Komplete Audio 6 profile set 2021-05-26 07:35:25 +00:00
90-pipewire-alsa.rules alsa-profiles: Add NI Komplete Audio 6 profile set 2021-05-26 07:35:25 +00:00
acp-tool.c treewide: replace !strcmp() with spa_streq() 2021-05-18 22:10:27 +10:00
alsa-acp-device.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
alsa-pcm-device.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
alsa-pcm-sink.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
alsa-pcm-source.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
alsa-pcm.c alsa: fix scan-build errors for unused variables 2021-05-26 07:51:27 +00:00
alsa-pcm.h alsa: clean up port and node params 2021-05-21 11:08:52 +02:00
alsa-seq-bridge.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
alsa-seq.c alsa: initialize reserve array 2021-03-30 09:40:10 +02:00
alsa-seq.h alsa: clean up port and node params 2021-05-21 11:08:52 +02:00
alsa-udev.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02: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