comparison plugin/DSSIPluginInstance.h @ 109:61a2ac1241b3

* 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 1aebdc68ec6d
children 3a6af0e5e2d1
comparison
equal deleted inserted replaced
108:0c19e50bad7c 109:61a2ac1241b3
30 #include <QMutex> 30 #include <QMutex>
31 31
32 #include "api/dssi.h" 32 #include "api/dssi.h"
33 33
34 #include "base/RingBuffer.h" 34 #include "base/RingBuffer.h"
35 #include "base/NonRTThread.h" 35 #include "base/Thread.h"
36 #include "RealTimePluginInstance.h" 36 #include "RealTimePluginInstance.h"
37 #include "base/Scavenger.h" 37 #include "base/Scavenger.h"
38 38
39 class DSSIPluginInstance : public RealTimePluginInstance 39 class DSSIPluginInstance : public RealTimePluginInstance
40 { 40 {
196 static snd_seq_event_t **m_groupLocalEventBuffers; 196 static snd_seq_event_t **m_groupLocalEventBuffers;
197 static size_t m_groupLocalEventBufferCount; 197 static size_t m_groupLocalEventBufferCount;
198 198
199 static Scavenger<ScavengerArrayWrapper<snd_seq_event_t *> > m_bufferScavenger; 199 static Scavenger<ScavengerArrayWrapper<snd_seq_event_t *> > m_bufferScavenger;
200 200
201 class NonRTPluginThread : public NonRTThread 201 class NonRTPluginThread : public Thread
202 { 202 {
203 public: 203 public:
204 NonRTPluginThread(LADSPA_Handle handle, 204 NonRTPluginThread(LADSPA_Handle handle,
205 void (*runFunction)(LADSPA_Handle)) : 205 void (*runFunction)(LADSPA_Handle)) :
206 m_handle(handle), 206 m_handle(handle),