MCPcopy Create free account
hub / github.com/audacity/audacity / getOutputDescriptors

Method getOutputDescriptors

lib-src/libvamp/skeleton/MyPlugin.cpp:167–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167MyPlugin::OutputList
168MyPlugin::getOutputDescriptors() const
169{
170 OutputList list;
171
172 // See OutputDescriptor documentation for the possibilities here.
173 // Every plugin must have at least one output.
174
175 OutputDescriptor d;
176 d.identifier = "output";
177 d.name = "My Output";
178 d.description = "";
179 d.unit = "";
180 d.hasFixedBinCount = true;
181 d.binCount = 1;
182 d.hasKnownExtents = false;
183 d.isQuantized = false;
184 d.sampleType = OutputDescriptor::OneSamplePerStep;
185 d.hasDuration = false;
186 list.push_back(d);
187
188 return list;
189}
190
191bool
192MyPlugin::initialise(size_t channels, size_t stepSize, size_t blockSize)

Callers 6

runPluginFunction · 0.45
enumeratePluginsFunction · 0.45
describe_pluginFunction · 0.45
describeFunction · 0.45
FindModulePathsMethod · 0.45
FindPluginMethod · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected