Mercurial > hg > svcore
comparison transform/FeatureExtractionPluginTransform.h @ 64:4d59dc469b0f
* Ensure plugin parameters for a transform are saved in the .sv file and
restored in case the plugin has to be run again
* Make plugin dialog offer options for mixdown/single-channel use if the
file has more than one channels but the plugin only accepts one
* Fix incorrect samplerate playback for second file loaded if its samplerate
differed from first
* Add Zoom to Fit and Select Visible Range menu options, split out Import
Audio into main model and secondary model options
* Add stubs for cut, copy and paste operations (not implemented yet)
author | Chris Cannam |
---|---|
date | Thu, 30 Mar 2006 13:18:11 +0000 |
parents | 2157fa46c1e7 |
children | 7afcfe666910 |
comparison
equal
deleted
inserted
replaced
63:ba405e5e69d3 | 64:4d59dc469b0f |
---|---|
24 class FeatureExtractionPluginTransform : public Transform | 24 class FeatureExtractionPluginTransform : public Transform |
25 { | 25 { |
26 public: | 26 public: |
27 FeatureExtractionPluginTransform(Model *inputModel, | 27 FeatureExtractionPluginTransform(Model *inputModel, |
28 QString plugin, | 28 QString plugin, |
29 int channel, | |
29 QString configurationXml = "", | 30 QString configurationXml = "", |
30 QString outputName = ""); | 31 QString outputName = ""); |
31 virtual ~FeatureExtractionPluginTransform(); | 32 virtual ~FeatureExtractionPluginTransform(); |
32 | 33 |
33 protected: | 34 protected: |
34 virtual void run(); | 35 virtual void run(); |
35 | 36 |
36 FeatureExtractionPlugin *m_plugin; | 37 FeatureExtractionPlugin *m_plugin; |
38 int m_channel; | |
37 FeatureExtractionPlugin::OutputDescriptor *m_descriptor; | 39 FeatureExtractionPlugin::OutputDescriptor *m_descriptor; |
38 int m_outputFeatureNo; | 40 int m_outputFeatureNo; |
39 | 41 |
40 void addFeature(size_t blockFrame, | 42 void addFeature(size_t blockFrame, |
41 const FeatureExtractionPlugin::Feature &feature); | 43 const FeatureExtractionPlugin::Feature &feature); |