comparison plugin/RealTimePluginFactory.cpp @ 408:115f60df1e4d

* Speed up spectrogram painting by releasing mutex in FFTDataServer while calculating data prior to writing it, and by adding whole-column value query methods to FFT objects * Add paint cache to Thumbwheel -- repaints of this widget were slowing down the whole spectrogram repaint * More uses of MutexLocker (named and with debug) and more profile points * Make startup much quicker some of the time, with OSC server in place
author Chris Cannam
date Thu, 08 May 2008 14:46:22 +0000
parents 15b47d30c085
children d7f3dfe6f9a4
comparison
equal deleted inserted replaced
407:88ad01799040 408:115f60df1e4d
24 24
25 #include "LADSPAPluginFactory.h" 25 #include "LADSPAPluginFactory.h"
26 #include "DSSIPluginFactory.h" 26 #include "DSSIPluginFactory.h"
27 27
28 #include "system/System.h" 28 #include "system/System.h"
29 #include "base/Profiler.h"
29 30
30 #include <iostream> 31 #include <iostream>
31 32
32 int RealTimePluginFactory::m_sampleRate = 48000; 33 int RealTimePluginFactory::m_sampleRate = 48000;
33 34
71 } 72 }
72 73
73 std::vector<QString> 74 std::vector<QString>
74 RealTimePluginFactory::getAllPluginIdentifiers() 75 RealTimePluginFactory::getAllPluginIdentifiers()
75 { 76 {
77 Profiler profiler("RealTimePluginFactory::getAllPluginIdentifiers");
78
76 RealTimePluginFactory *factory; 79 RealTimePluginFactory *factory;
77 std::vector<QString> rv; 80 std::vector<QString> rv;
78 81
79 // Query DSSI plugins before LADSPA ones. 82 // Query DSSI plugins before LADSPA ones.
80 // This is to provide for the interesting possibility of plugins 83 // This is to provide for the interesting possibility of plugins
106 } 109 }
107 110
108 void 111 void
109 RealTimePluginFactory::enumerateAllPlugins(std::vector<QString> &list) 112 RealTimePluginFactory::enumerateAllPlugins(std::vector<QString> &list)
110 { 113 {
114 Profiler profiler("RealTimePluginFactory::enumerateAllPlugins");
115
111 RealTimePluginFactory *factory; 116 RealTimePluginFactory *factory;
112 117
113 // Query DSSI plugins before LADSPA ones. 118 // Query DSSI plugins before LADSPA ones.
114 // This is to provide for the interesting possibility of plugins 119 // This is to provide for the interesting possibility of plugins
115 // providing either DSSI or LADSPA versions of themselves, 120 // providing either DSSI or LADSPA versions of themselves,