comparison audioio/AudioGenerator.cpp @ 274:eb9a16538173

Fix return type
author Chris Cannam
date Mon, 15 Apr 2013 16:13:41 +0100
parents 8aace2d9f1c2
children 6c6950bd7d53
comparison
equal deleted inserted replaced
262:8a603a0840c8 274:eb9a16538173
230 RealTimePluginFactory *factory = 230 RealTimePluginFactory *factory =
231 RealTimePluginFactory::instanceFor(pluginId); 231 RealTimePluginFactory::instanceFor(pluginId);
232 232
233 if (!factory) { 233 if (!factory) {
234 std::cerr << "Failed to get plugin factory" << std::endl; 234 std::cerr << "Failed to get plugin factory" << std::endl;
235 return false; 235 return 0;
236 } 236 }
237 237
238 RealTimePluginInstance *instance = 238 RealTimePluginInstance *instance =
239 factory->instantiatePlugin 239 factory->instantiatePlugin
240 (pluginId, 0, 0, m_sourceSampleRate, m_pluginBlockSize, m_targetChannelCount); 240 (pluginId, 0, 0, m_sourceSampleRate, m_pluginBlockSize, m_targetChannelCount);