| 577 | } |
| 578 | |
| 579 | void 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 | |
| 590 | void ProcessorClient::suspendProcessing(bool b) { |
| 591 | m_suspended = b; |