diff 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
line wrap: on
line diff
--- a/transform/TransformFactory.h	Tue Oct 03 15:01:50 2006 +0000
+++ b/transform/TransformFactory.h	Wed Oct 04 11:01:39 2006 +0000
@@ -23,6 +23,8 @@
 
 namespace Vamp { class PluginBase; }
 
+class AudioCallbackPlaySource;
+
 class TransformFactory : public QObject
 {
     Q_OBJECT
@@ -78,11 +80,14 @@
      * Get a configuration XML string for the given transform (by
      * asking the user, most likely).  Returns true if the transform
      * is acceptable, false if the operation should be cancelled.
+     * Audio callback play source may be used to audition effects
+     * plugins, if provided.
      */
     bool getConfigurationForTransform(TransformName name,
                                       Model *inputModel,
                                       PluginTransform::ExecutionContext &context,
-                                      QString &configurationXml);
+                                      QString &configurationXml,
+                                      AudioCallbackPlaySource *source = 0);
 
     /**
      * Return the output model resulting from applying the named