comparison transform/ModelTransformerFactory.h @ 389:a1b6d2e33cab

* document library dependencies * remove dependency of transform on audioio
author Chris Cannam
date Thu, 13 Mar 2008 10:12:14 +0000
parents 370aa9714ef5
children 4c000e196bf1
comparison
equal deleted inserted replaced
388:370aa9714ef5 389:a1b6d2e33cab
24 #include <map> 24 #include <map>
25 #include <set> 25 #include <set>
26 26
27 namespace Vamp { class PluginBase; } 27 namespace Vamp { class PluginBase; }
28 28
29 class AudioCallbackPlaySource; 29 class AudioPlaySource;
30 30
31 class ModelTransformerFactory : public QObject 31 class ModelTransformerFactory : public QObject
32 { 32 {
33 Q_OBJECT 33 Q_OBJECT
34 34
39 39
40 /** 40 /**
41 * Fill out the configuration for the given transform (by asking 41 * Fill out the configuration for the given transform (by asking
42 * the user, most likely). Returns the selected input model and 42 * the user, most likely). Returns the selected input model and
43 * channel if the transform is acceptable, or an input with a null 43 * channel if the transform is acceptable, or an input with a null
44 * model if the operation should be cancelled. Audio callback 44 * model if the operation should be cancelled. Audio play source
45 * play source may be used to audition effects plugins, if 45 * may be used to audition effects plugins, if provided.
46 * provided.
47 */ 46 */
48 ModelTransformer::Input 47 ModelTransformer::Input
49 getConfigurationForTransform(Transform &transform, 48 getConfigurationForTransform(Transform &transform,
50 const std::vector<Model *> &candidateInputModels, 49 const std::vector<Model *> &candidateInputModels,
51 Model *defaultInputModel, 50 Model *defaultInputModel,
52 AudioCallbackPlaySource *source = 0, 51 AudioPlaySource *source = 0,
53 size_t startFrame = 0, 52 size_t startFrame = 0,
54 size_t duration = 0); 53 size_t duration = 0);
55 54
56 /** 55 /**
57 * Return the output model resulting from applying the named 56 * Return the output model resulting from applying the named