- constify

- refactored MidiCC
- JaySynthSound is not MidiCC, but has MidiCC
- refactored xml import export for patches and banks
This commit is contained in:
2023-04-28 12:32:26 +02:00
parent 5850ab5d46
commit b4add9e530
7 changed files with 153 additions and 119 deletions
+2 -2
View File
@@ -4953,7 +4953,7 @@ void JaySynthAudioProcessorEditor::buttonClicked (Button* buttonThatWasClicked)
if (fc.browseForFileToOpen())
{
File const &file = fc.getResult();
getProcessor()->loadPatch(0, file);
getProcessor()->loadPatch(file, 0);
}
}
else if (buttonThatWasClicked == m_button_patch_save)
@@ -4962,7 +4962,7 @@ void JaySynthAudioProcessorEditor::buttonClicked (Button* buttonThatWasClicked)
if (fc.browseForFileToSave(true))
{
File const &file = fc.getResult();
getProcessor()->savePatch(0, file);
getProcessor()->savePatch(file, 0);
}
}
else if (buttonThatWasClicked == m_button_patch_incr)