MCPcopy Create free account
hub / github.com/apohl79/audiogridder / getParameterValue

Method getParameterValue

Server/Source/ProcessorChain.cpp:345–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345float ProcessorChain::getParameterValue(int idx, int channel, int paramIdx) {
346 traceScope();
347 std::lock_guard<std::mutex> lock(m_processorsMtx);
348 if (idx > -1 && (size_t)idx < m_processors.size()) {
349 if (auto p = m_processors[(size_t)idx]) {
350 return p->getParameterValue(channel, paramIdx);
351 }
352 }
353 return 0.0f;
354}
355
356void ProcessorChain::clear() {
357 traceScope();

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected