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

Method setCurrentProgram

Server/Source/ProcessorClient.cpp:579–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579void ProcessorClient::setCurrentProgram(int i) {
580 traceScope();
581
582 std::lock_guard<std::mutex> lock(m_cmdMtx);
583
584 Message<Preset> msg(this);
585 DATA(msg)->idx = 0;
586 DATA(msg)->preset = i;
587 msg.send(m_sockCmdOut.get());
588}
589
590void ProcessorClient::suspendProcessing(bool b) {
591 m_suspended = b;

Callers

nothing calls this directly

Calls 2

sendMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected