Mercurial > hg > svcore
comparison plugin/RealTimePluginFactory.cpp @ 117:c30728d5625c sv1-v0.9rc1
* Make vertical scale alignment modes work in note layer as well as time-value
layer, and several significant fixes to it
* Make it possible to draw notes properly on the note layer
* Show units (and frequencies etc in note layer's case) in the time-value and
note layer description boxes
* Minor fix to item edit dialog layout
* Some minor menu rearrangement
* Comment out a lot of debug output
* Add SV website and reference URLs to Help menu, and add code to (attempt to)
open them in the user's preferred browser
author | Chris Cannam |
---|---|
date | Fri, 12 May 2006 14:40:43 +0000 |
parents | 39ae3dee27b9 |
children | dc46851837d6 |
comparison
equal
deleted
inserted
replaced
116:a08718723b20 | 117:c30728d5625c |
---|---|
35 RealTimePluginFactory * | 35 RealTimePluginFactory * |
36 RealTimePluginFactory::instance(QString pluginType) | 36 RealTimePluginFactory::instance(QString pluginType) |
37 { | 37 { |
38 if (pluginType == "ladspa") { | 38 if (pluginType == "ladspa") { |
39 if (!_ladspaInstance) { | 39 if (!_ladspaInstance) { |
40 std::cerr << "RealTimePluginFactory::instance(" << pluginType.toStdString() | 40 // std::cerr << "RealTimePluginFactory::instance(" << pluginType.toStdString() |
41 << "): creating new LADSPAPluginFactory" << std::endl; | 41 // << "): creating new LADSPAPluginFactory" << std::endl; |
42 _ladspaInstance = new LADSPAPluginFactory(); | 42 _ladspaInstance = new LADSPAPluginFactory(); |
43 _ladspaInstance->discoverPlugins(); | 43 _ladspaInstance->discoverPlugins(); |
44 } | 44 } |
45 return _ladspaInstance; | 45 return _ladspaInstance; |
46 } else if (pluginType == "dssi") { | 46 } else if (pluginType == "dssi") { |
47 if (!_dssiInstance) { | 47 if (!_dssiInstance) { |
48 std::cerr << "RealTimePluginFactory::instance(" << pluginType.toStdString() | 48 // std::cerr << "RealTimePluginFactory::instance(" << pluginType.toStdString() |
49 << "): creating new DSSIPluginFactory" << std::endl; | 49 // << "): creating new DSSIPluginFactory" << std::endl; |
50 _dssiInstance = new DSSIPluginFactory(); | 50 _dssiInstance = new DSSIPluginFactory(); |
51 _dssiInstance->discoverPlugins(); | 51 _dssiInstance->discoverPlugins(); |
52 } | 52 } |
53 return _dssiInstance; | 53 return _dssiInstance; |
54 } | 54 } |