comparison transform/TransformFactory.h @ 41:fbd7a497fd89

* Audition effects plugins during playback
author Chris Cannam
date Wed, 04 Oct 2006 11:01:39 +0000
parents 8ad306d8a568
children 94f1c2747de4
comparison
equal deleted inserted replaced
40:75c5951cf9d7 41:fbd7a497fd89
20 #include "PluginTransform.h" 20 #include "PluginTransform.h"
21 21
22 #include <map> 22 #include <map>
23 23
24 namespace Vamp { class PluginBase; } 24 namespace Vamp { class PluginBase; }
25
26 class AudioCallbackPlaySource;
25 27
26 class TransformFactory : public QObject 28 class TransformFactory : public QObject
27 { 29 {
28 Q_OBJECT 30 Q_OBJECT
29 31
76 78
77 /** 79 /**
78 * Get a configuration XML string for the given transform (by 80 * Get a configuration XML string for the given transform (by
79 * asking the user, most likely). Returns true if the transform 81 * asking the user, most likely). Returns true if the transform
80 * is acceptable, false if the operation should be cancelled. 82 * is acceptable, false if the operation should be cancelled.
83 * Audio callback play source may be used to audition effects
84 * plugins, if provided.
81 */ 85 */
82 bool getConfigurationForTransform(TransformName name, 86 bool getConfigurationForTransform(TransformName name,
83 Model *inputModel, 87 Model *inputModel,
84 PluginTransform::ExecutionContext &context, 88 PluginTransform::ExecutionContext &context,
85 QString &configurationXml); 89 QString &configurationXml,
90 AudioCallbackPlaySource *source = 0);
86 91
87 /** 92 /**
88 * Return the output model resulting from applying the named 93 * Return the output model resulting from applying the named
89 * transform to the given input model. The transform may still be 94 * transform to the given input model. The transform may still be
90 * working in the background when the model is returned; check the 95 * working in the background when the model is returned; check the