aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Helpers.cxx
diff options
context:
space:
mode:
authorPete Beardmore <pete.beardmore@msn.com>2014-03-05 08:08:12 +0000
committerPete Beardmore <pete.beardmore@msn.com>2014-03-05 17:17:41 +0000
commit9da57e7458ed2e539ba1693ca748c0e5c7969585 (patch)
tree66e3be150459c01a45b16b022fa31b4464e9f412 /src/db/Helpers.cxx
parent3a3fb98f79de9863e3d78f57bb254064a9de4b09 (diff)
downloadmpd-9da57e7458ed2e539ba1693ca748c0e5c7969585.tar.gz
mpd-9da57e7458ed2e539ba1693ca748c0e5c7969585.tar.xz
mpd-9da57e7458ed2e539ba1693ca748c0e5c7969585.zip
PulseOutputPlugin: avoid locking mainloop object from within mainloop thread
-fixes regression introduced by: '8d6fedf8177d0d2ced81e6d93d35c368b2ac69db [PATCH] Mixer: add class MixerListener' -listener.OnMixerVolumeChanged() called GetVolume() which attempted to acquire the lock but as per 'pa_threaded_mainloop_lock()' documentation: This function may not be called inside the event loop thread. Events that are dispatched from the event loop thread are executed with this lock held -this patch seperates the underlying action of GetVolume() into a new GetVolumeInternal() function, to be called only when the lock is already held, as is the case for the listener.OnMixerVolumeChanged() call
Diffstat (limited to 'src/db/Helpers.cxx')
0 files changed, 0 insertions, 0 deletions