Mercurial > hg > svcore
comparison transform/TransformFactory.h @ 1050:5ad98be7f635 cxx11
Merge
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 20:03:08 +0000 |
parents | 26cf6d5251ec |
children | afed8be79032 |
comparison
equal
deleted
inserted
replaced
1049:10055a284716 | 1050:5ad98be7f635 |
---|---|
86 /** | 86 /** |
87 * A single transform ID can lead to many possible Transforms, | 87 * A single transform ID can lead to many possible Transforms, |
88 * with different parameters and execution context settings. | 88 * with different parameters and execution context settings. |
89 * Return the default one for the given transform. | 89 * Return the default one for the given transform. |
90 */ | 90 */ |
91 Transform getDefaultTransformFor(TransformId identifier, int rate = 0); | 91 Transform getDefaultTransformFor(TransformId identifier, sv_samplerate_t rate = 0); |
92 | 92 |
93 /** | 93 /** |
94 * Full name of a transform, suitable for putting on a menu. | 94 * Full name of a transform, suitable for putting on a menu. |
95 */ | 95 */ |
96 QString getTransformName(TransformId identifier); | 96 QString getTransformName(TransformId identifier); |
208 void populateTransforms(); | 208 void populateTransforms(); |
209 void populateUninstalledTransforms(); | 209 void populateUninstalledTransforms(); |
210 void populateFeatureExtractionPlugins(TransformDescriptionMap &); | 210 void populateFeatureExtractionPlugins(TransformDescriptionMap &); |
211 void populateRealTimePlugins(TransformDescriptionMap &); | 211 void populateRealTimePlugins(TransformDescriptionMap &); |
212 | 212 |
213 Vamp::PluginBase *instantiateDefaultPluginFor(TransformId id, int rate); | 213 Vamp::PluginBase *instantiateDefaultPluginFor(TransformId id, sv_samplerate_t rate); |
214 QMutex m_transformsMutex; | 214 QMutex m_transformsMutex; |
215 QMutex m_uninstalledTransformsMutex; | 215 QMutex m_uninstalledTransformsMutex; |
216 | 216 |
217 class UninstalledTransformsPopulateThread : public QThread | 217 class UninstalledTransformsPopulateThread : public QThread |
218 { | 218 { |