Mercurial > hg > piper-cpp
comparison vamp-support/PluginConfiguration.h @ 209:ac4f5f8ee0e7
Merge branch 'dev/step-and-block-size'
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 09 Feb 2017 14:16:37 +0000 |
parents | ad6025dc0b04 |
children |
comparison
equal
deleted
inserted
replaced
205:587e9691a44e | 209:ac4f5f8ee0e7 |
---|---|
79 Framing framing; | 79 Framing framing; |
80 typedef std::map<std::string, float> ParameterMap; | 80 typedef std::map<std::string, float> ParameterMap; |
81 ParameterMap parameterValues; | 81 ParameterMap parameterValues; |
82 std::string currentProgram; | 82 std::string currentProgram; |
83 | 83 |
84 /** | |
85 * Extract the configuration from the given plugin (without | |
86 * retaining any persistent reference to the plugin itself). | |
87 */ | |
84 static PluginConfiguration | 88 static PluginConfiguration |
85 fromPlugin(Vamp::Plugin *p, | 89 fromPlugin(Vamp::Plugin *p, |
86 int channelCount, | 90 int channelCount, |
87 int stepSize, | 91 int stepSize, |
88 int blockSize) { | 92 int blockSize) { |