# HG changeset patch # User Chris Cannam # Date 1144084707 0 # Node ID 57a78e7e4ad366135bd0160a2ab2bc7d26bb6b3b # Parent 8e8c2981a189cc0f1247bb1302588c6d9e7db5e8 * Make the item-edit dialog do something useful diff -r 8e8c2981a189 -r 57a78e7e4ad3 transform/FeatureExtractionPluginTransform.cpp --- a/transform/FeatureExtractionPluginTransform.cpp Mon Apr 03 14:18:40 2006 +0000 +++ b/transform/FeatureExtractionPluginTransform.cpp Mon Apr 03 17:18:27 2006 +0000 @@ -206,7 +206,11 @@ size_t sampleRate = m_input->getSampleRate(); - m_plugin->initialise(channelCount, m_stepSize, m_blockSize); + if (!m_plugin->initialise(channelCount, m_stepSize, m_blockSize)) { + std::cerr << "FeatureExtractionPluginTransform::run: Plugin " + << m_plugin->getName() << " failed to initialise!" << std::endl; + return; + } float **buffers = new float*[channelCount]; for (size_t ch = 0; ch < channelCount; ++ch) {