mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 13:48:55 +00:00
g_atomic_int_(get|set) only work on ints and the flags are an enum (which on most architectures is stored as an int). Also the way the flags were accessed atomically would still leave a possible race condition and we don't do it in any other mixer track implementation, let alone at any other place where an integer could be changed from different threads. Removing the g_atomic_int_(get|set) will only introduce a new race condition on architectures where integers could be half-written while reading them which shouldn't be the case for any modern architecture and if we really care about this we need to use g_atomic_int_(get|set) at many other places too. Apart from that g_atomic_int_(set|get) will result in aliasing warnings if their argument is explicitely casted to an int *. Fixes bug #571153. |
||
---|---|---|
.. | ||
Makefile.am | ||
plugin.c | ||
pulsemixer.c | ||
pulsemixer.h | ||
pulsemixerctrl.c | ||
pulsemixerctrl.h | ||
pulsemixertrack.c | ||
pulsemixertrack.h | ||
pulseprobe.c | ||
pulseprobe.h | ||
pulsesink.c | ||
pulsesink.h | ||
pulsesrc.c | ||
pulsesrc.h | ||
pulseutil.c | ||
pulseutil.h |