Mercurial > hg > beatroot-vamp
comparison BeatRootVampPlugin.cpp @ 9:4f6626f9ffac
Many fixes. This now compiles and passes the plugin tester, but I don't expect it produces any results yet.
author | Chris Cannam |
---|---|
date | Fri, 30 Sep 2011 15:39:17 +0100 |
parents | 7d4e6b1ff3d1 |
children | 1c1e98cd1b2e |
comparison
equal
deleted
inserted
replaced
8:f04f87b5e643 | 9:4f6626f9ffac |
---|---|
14 */ | 14 */ |
15 | 15 |
16 #include "BeatRootVampPlugin.h" | 16 #include "BeatRootVampPlugin.h" |
17 #include "BeatRootProcessor.h" | 17 #include "BeatRootProcessor.h" |
18 | 18 |
19 #include <vamp-sdk/PluginAdapter.h> | |
19 | 20 |
20 BeatRootVampPlugin::BeatRootVampPlugin(float inputSampleRate) : | 21 BeatRootVampPlugin::BeatRootVampPlugin(float inputSampleRate) : |
21 Plugin(inputSampleRate) | 22 Plugin(inputSampleRate) |
22 { | 23 { |
23 m_processor = new BeatRootProcessor(inputSampleRate); | 24 m_processor = new BeatRootProcessor(inputSampleRate); |
180 << getPreferredBlockSize() << " for rate " << m_inputSampleRate | 181 << getPreferredBlockSize() << " for rate " << m_inputSampleRate |
181 << ")" << std::endl; | 182 << ")" << std::endl; |
182 return false; | 183 return false; |
183 } | 184 } |
184 | 185 |
185 m_processor->initialise(); | 186 m_processor->reset(); |
186 | 187 |
187 return true; | 188 return true; |
188 } | 189 } |
189 | 190 |
190 void | 191 void |