Mercurial > hg > svapp
diff audioio/AudioPulseAudioTarget.h @ 118:c41e340dfe8d
* timing updates; still much to be done
author | Chris Cannam |
---|---|
date | Wed, 21 May 2008 17:11:57 +0000 |
parents | 2bc8bf6d016c |
children | 1ba557a20ca3 |
line wrap: on
line diff
--- a/audioio/AudioPulseAudioTarget.h Wed May 21 16:54:24 2008 +0000 +++ b/audioio/AudioPulseAudioTarget.h Wed May 21 17:11:57 2008 +0000 @@ -22,7 +22,7 @@ #include <QObject> #include <QMutex> -#include <QThread> +#include "base/Thread.h" #include "AudioCallbackPlayTarget.h" @@ -56,10 +56,10 @@ QMutex m_mutex; - class MainLoopThread : public QThread + class MainLoopThread : public Thread { public: - MainLoopThread(pa_mainloop *loop) : m_loop(loop) { } + MainLoopThread(pa_mainloop *loop) : Thread(RTThread), m_loop(loop) { } virtual void run() { int rv = 0; pa_mainloop_run(m_loop, &rv); //!!! check return value from this, and rv