Mercurial > hg > svapp
comparison audioio/AudioPulseAudioTarget.h @ 119:1ba557a20ca3
...
author | Chris Cannam |
---|---|
date | Wed, 21 May 2008 17:17:16 +0000 |
parents | c41e340dfe8d |
children | 2aa263b384f8 |
comparison
equal
deleted
inserted
replaced
118:c41e340dfe8d | 119:1ba557a20ca3 |
---|---|
57 QMutex m_mutex; | 57 QMutex m_mutex; |
58 | 58 |
59 class MainLoopThread : public Thread | 59 class MainLoopThread : public Thread |
60 { | 60 { |
61 public: | 61 public: |
62 MainLoopThread(pa_mainloop *loop) : Thread(RTThread), m_loop(loop) { } | 62 MainLoopThread(pa_mainloop *loop) : Thread(NonRTThread), m_loop(loop) { } //!!! or RTThread |
63 virtual void run() { | 63 virtual void run() { |
64 int rv = 0; | 64 int rv = 0; |
65 pa_mainloop_run(m_loop, &rv); //!!! check return value from this, and rv | 65 pa_mainloop_run(m_loop, &rv); //!!! check return value from this, and rv |
66 } | 66 } |
67 | 67 |