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

Method setCurrentProgram

Server/Source/Processor.cpp:1320–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1318}
1319
1320void Processor::setCurrentProgram(int idx, int channel) {
1321 if (m_isClient) {
1322 if (auto c = getClient()) {
1323 c->setCurrentProgram(idx);
1324 }
1325 } else {
1326 if (auto p = getPlugin(channel)) {
1327 p->setCurrentProgram(idx);
1328 }
1329 }
1330}
1331
1332int Processor::getTotalNumOutputChannels() {
1333 if (m_isClient) {

Callers 1

handleMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected