Mercurial > hg > svcore
comparison plugin/RealTimePluginFactory.cpp @ 687:06f13a3b9e9e debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:09 +0100 |
parents | d7f3dfe6f9a4 |
children | 1424aa29ae95 |
comparison
equal
deleted
inserted
replaced
686:b4a8d8221eaf | 687:06f13a3b9e9e |
---|---|
42 RealTimePluginFactory * | 42 RealTimePluginFactory * |
43 RealTimePluginFactory::instance(QString pluginType) | 43 RealTimePluginFactory::instance(QString pluginType) |
44 { | 44 { |
45 if (pluginType == "ladspa") { | 45 if (pluginType == "ladspa") { |
46 if (!_ladspaInstance) { | 46 if (!_ladspaInstance) { |
47 // std::cerr << "RealTimePluginFactory::instance(" << pluginType.toStdString() | 47 // DEBUG << "RealTimePluginFactory::instance(" << pluginType// << "): creating new LADSPAPluginFactory" << endl; |
48 // << "): creating new LADSPAPluginFactory" << std::endl; | |
49 _ladspaInstance = new LADSPAPluginFactory(); | 48 _ladspaInstance = new LADSPAPluginFactory(); |
50 _ladspaInstance->discoverPlugins(); | 49 _ladspaInstance->discoverPlugins(); |
51 } | 50 } |
52 return _ladspaInstance; | 51 return _ladspaInstance; |
53 } else if (pluginType == "dssi") { | 52 } else if (pluginType == "dssi") { |
54 if (!_dssiInstance) { | 53 if (!_dssiInstance) { |
55 // std::cerr << "RealTimePluginFactory::instance(" << pluginType.toStdString() | 54 // DEBUG << "RealTimePluginFactory::instance(" << pluginType// << "): creating new DSSIPluginFactory" << endl; |
56 // << "): creating new DSSIPluginFactory" << std::endl; | |
57 _dssiInstance = new DSSIPluginFactory(); | 55 _dssiInstance = new DSSIPluginFactory(); |
58 _dssiInstance->discoverPlugins(); | 56 _dssiInstance->discoverPlugins(); |
59 } | 57 } |
60 return _dssiInstance; | 58 return _dssiInstance; |
61 } | 59 } |