Mercurial > hg > svcore
comparison plugin/RealTimePluginInstance.h @ 57:7439f1696314
* Add editing for auralisation plugin parameters and programs
* Rename and reorganise the sample plugin sample set
author | Chris Cannam |
---|---|
date | Thu, 23 Mar 2006 15:49:41 +0000 |
parents | d397ea0a79f5 |
children | 3086ff194ea0 |
comparison
equal
deleted
inserted
replaced
56:2157fa46c1e7 | 57:7439f1696314 |
---|---|
118 virtual void discardEvents() { } | 118 virtual void discardEvents() { } |
119 virtual void setIdealChannelCount(size_t channels) = 0; // must also silence(); may also re-instantiate | 119 virtual void setIdealChannelCount(size_t channels) = 0; // must also silence(); may also re-instantiate |
120 | 120 |
121 void setFactory(RealTimePluginFactory *f) { m_factory = f; } // ew | 121 void setFactory(RealTimePluginFactory *f) { m_factory = f; } // ew |
122 | 122 |
123 virtual std::string getType() const { return "Real-Time Plugin"; } | |
124 | |
123 protected: | 125 protected: |
124 RealTimePluginInstance(RealTimePluginFactory *factory, QString identifier) : | 126 RealTimePluginInstance(RealTimePluginFactory *factory, QString identifier) : |
125 m_factory(factory), m_identifier(identifier) { } | 127 m_factory(factory), m_identifier(identifier) { } |
126 | 128 |
127 RealTimePluginFactory *m_factory; | 129 RealTimePluginFactory *m_factory; |