Mercurial > hg > sonic-visualiser
comparison transform/TransformFactory.h @ 184:ebd906049fb6
* Change WaveFileModel API from getValues(start,end) to getData(start,count).
It's much less error-prone to pass in frame counts instead of start/end
locations. Should have done this ages ago. This closes #1794563.
* Add option to apply a transform to only the selection region, instead of
the whole audio.
* (to make the above work properly) Add start frame offset to wave models
author | Chris Cannam |
---|---|
date | Mon, 01 Oct 2007 13:48:38 +0000 |
parents | b4110b17bca8 |
children |
comparison
equal
deleted
inserted
replaced
183:3fdaf3157eea | 184:ebd906049fb6 |
---|---|
87 */ | 87 */ |
88 Model *getConfigurationForTransform(TransformId identifier, | 88 Model *getConfigurationForTransform(TransformId identifier, |
89 const std::vector<Model *> &candidateInputModels, | 89 const std::vector<Model *> &candidateInputModels, |
90 PluginTransform::ExecutionContext &context, | 90 PluginTransform::ExecutionContext &context, |
91 QString &configurationXml, | 91 QString &configurationXml, |
92 AudioCallbackPlaySource *source = 0); | 92 AudioCallbackPlaySource *source = 0, |
93 size_t startFrame = 0, | |
94 size_t duration = 0); | |
93 | 95 |
94 /** | 96 /** |
95 * Get the default execution context for the given transform | 97 * Get the default execution context for the given transform |
96 * and input model (if known). | 98 * and input model (if known). |
97 */ | 99 */ |