Mercurial > hg > svapp
diff audioio/AudioCallbackPlaySource.h @ 35:37e3c693af0c
* Make a single base Thread class for RT and non-RT threads
* Pull ResizeableBitmap out from the MatrixFile's ColumnBitmap
* Reorder SpectrogramLayer::paint somewhat so as to improve cache hit ratio
in the FFT file cache
author | Chris Cannam |
---|---|
date | Mon, 08 May 2006 16:44:47 +0000 |
parents | 4593a7ebad93 |
children | 4ed2448582cc |
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.h Fri Apr 28 12:19:09 2006 +0000 +++ b/audioio/AudioCallbackPlaySource.h Mon May 08 16:44:47 2006 +0000 @@ -23,7 +23,8 @@ #include <QObject> #include <QMutex> #include <QWaitCondition> -#include <QThread> + +#include "base/Thread.h" #include <samplerate.h> @@ -281,10 +282,11 @@ // frame argument passed in, in the case of looping). size_t mixModels(size_t &frame, size_t count, float **buffers); - class AudioCallbackPlaySourceFillThread : public QThread + class AudioCallbackPlaySourceFillThread : public Thread { public: AudioCallbackPlaySourceFillThread(AudioCallbackPlaySource &source) : + Thread(Thread::NonRTThread), m_source(source) { } virtual void run();