comparison audioio/AudioCallbackPlaySource.h @ 105:907e44e4ecf0

* juggle some files around in order to free audioio, base, and system libraries from dependency on QtGui
author Chris Cannam
date Wed, 12 Mar 2008 17:42:56 +0000
parents 8591a0a3d57e
children 52af71802ffd
comparison
equal deleted inserted replaced
104:e154e24b7ec3 105:907e44e4ecf0
36 namespace RubberBand { 36 namespace RubberBand {
37 class RubberBandStretcher; 37 class RubberBandStretcher;
38 } 38 }
39 39
40 class Model; 40 class Model;
41 class ViewManager; 41 class ViewManagerBase;
42 class AudioGenerator; 42 class AudioGenerator;
43 class PlayParameters; 43 class PlayParameters;
44 class RealTimePluginInstance; 44 class RealTimePluginInstance;
45 class AudioCallbackPlayTarget; 45 class AudioCallbackPlayTarget;
46 46
55 public AudioPlaySource 55 public AudioPlaySource
56 { 56 {
57 Q_OBJECT 57 Q_OBJECT
58 58
59 public: 59 public:
60 AudioCallbackPlaySource(ViewManager *, QString clientName); 60 AudioCallbackPlaySource(ViewManagerBase *, QString clientName);
61 virtual ~AudioCallbackPlaySource(); 61 virtual ~AudioCallbackPlaySource();
62 62
63 /** 63 /**
64 * Add a data model to be played from. The source can mix 64 * Add a data model to be played from. The source can mix
65 * playback from a number of sources including dense and sparse 65 * playback from a number of sources including dense and sparse
258 void playParametersChanged(PlayParameters *); 258 void playParametersChanged(PlayParameters *);
259 void preferenceChanged(PropertyContainer::PropertyName); 259 void preferenceChanged(PropertyContainer::PropertyName);
260 void modelChanged(size_t startFrame, size_t endFrame); 260 void modelChanged(size_t startFrame, size_t endFrame);
261 261
262 protected: 262 protected:
263 ViewManager *m_viewManager; 263 ViewManagerBase *m_viewManager;
264 AudioGenerator *m_audioGenerator; 264 AudioGenerator *m_audioGenerator;
265 QString m_clientName; 265 QString m_clientName;
266 266
267 class RingBufferVector : public std::vector<RingBuffer<float> *> { 267 class RingBufferVector : public std::vector<RingBuffer<float> *> {
268 public: 268 public: