pa-card-profile-tray/threadedmainlooplock.cpp
2018-10-01 20:00:27 +13:00

12 lines
244 B
C++

#include "threadedmainlooplock.h"
ThreadedMainLoopLock::ThreadedMainLoopLock(pa_threaded_mainloop* ml) :
ml(ml)
{
pa_threaded_mainloop_lock(ml);
}
ThreadedMainLoopLock::~ThreadedMainLoopLock() {
pa_threaded_mainloop_unlock(ml);
}