data race in pa_queue_pop/pa_queue_push reported by TSan
Submitted by Fabrice Bellet
Created attachment 349671 ThreadSanitizer: data race pulsecore/queue.c:98 in pa_queue_pop
This case suggested by the thread sanitizer occurs because pulseaudio operations related to the mic detection can happen in two different threads, one is the main thread from the glib main loop, and the other is a thread from the gstreamer pipeline, running the pulsesrc element, when processing a notify callback.
This bug has also been submitted to the pulseaudio bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99667
Attachment 349671, "ThreadSanitizer: data race pulsecore/queue.c:98 in pa_queue_pop":