• Pete Beardmore's avatar
    PulseOutputPlugin: avoid locking mainloop object from within mainloop thread · 9da57e74
    Pete Beardmore authored
    -fixes regression introduced by:
     '8d6fedf8 [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
    9da57e74
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...