| 1318 | } |
| 1319 | |
| 1320 | void 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 | |
| 1332 | int Processor::getTotalNumOutputChannels() { |
| 1333 | if (m_isClient) { |