• Max Kellermann's avatar
    mixer: protect the mixer struct with a mutex · 7deade85
    Max Kellermann authored
    In some rare cases, there was a race condition between the output
    thread and the main thread: when you disable/enable an output device
    in the main thread, this caused a crash in the output thread.  Protect
    the whole mixer struct with a GMutex to prevent that.
    7deade85
mixer_control.c 2.41 KB