GUI: wire up the code for custom keybinds

still no way to set them up, and four are missing
please be patient
This commit is contained in:
tildearrow 2022-02-11 18:20:39 -05:00
parent 350bbc8af1
commit 1580e5836b
4 changed files with 773 additions and 300 deletions

View file

@ -5256,6 +5256,17 @@ void DivEngine::muteChannel(int chan, bool mute) {
isBusy.unlock();
}
void DivEngine::unmuteAll() {
isBusy.lock();
for (int i=0; i<chans; i++) {
isMuted[i]=false;
if (disCont[dispatchOfChan[i]].dispatch!=NULL) {
disCont[dispatchOfChan[i]].dispatch->muteChannel(dispatchChanOfChan[i],isMuted[i]);
}
}
isBusy.unlock();
}
int DivEngine::addInstrument(int refChan) {
isBusy.lock();
DivInstrument* ins=new DivInstrument;