- constify
- refactored MidiCC - JaySynthSound is not MidiCC, but has MidiCC - refactored xml import export for patches and banks
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user