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

Method setParameterValue

Server/Source/ProcessorClient.cpp:709–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707}
708
709void ProcessorClient::setParameterValue(int channel, int paramIdx, float value) {
710 traceScope();
711
712 std::lock_guard<std::mutex> lock(m_cmdMtx);
713
714 Message<ParameterValue> msg(this);
715 DATA(msg)->idx = 0;
716 DATA(msg)->channel = channel;
717 DATA(msg)->paramIdx = paramIdx;
718 DATA(msg)->value = value;
719 msg.send(m_sockCmdOut.get());
720}
721
722float ProcessorClient::getParameterValue(int channel, int paramIdx) {
723 traceScope();

Callers

nothing calls this directly

Calls 2

sendMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected