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:
parent
350bbc8af1
commit
1580e5836b
4 changed files with 773 additions and 300 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue