aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapper.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-14 11:53:28 +0100
committerMax Kellermann <max@duempel.org>2009-03-14 11:53:28 +0100
commit7deade857733e2a38d2da926acfc69b235fa4d0f (patch)
tree623e432726c254954035351566ce202a209d41c8 /src/mapper.c
parent82963ee0238ec9977161b27183294d39a817336f (diff)
downloadmpd-7deade857733e2a38d2da926acfc69b235fa4d0f.tar.gz
mpd-7deade857733e2a38d2da926acfc69b235fa4d0f.tar.xz
mpd-7deade857733e2a38d2da926acfc69b235fa4d0f.zip
mixer: protect the mixer struct with a mutex
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.
Diffstat (limited to 'src/mapper.c')
0 files changed, 0 insertions, 0 deletions