- added legacy (< v1.0.0) import for patches
- added legacy (< v1.0.0) import for banks
This commit is contained in:
@@ -4938,7 +4938,7 @@ void JaySynthAudioProcessorEditor::buttonClicked (Button* buttonThatWasClicked)
|
||||
if (fc.browseForFileToOpen())
|
||||
{
|
||||
File const &file = fc.getResult();
|
||||
getProcessor()->loadBank(file);
|
||||
getProcessor()->loadBankFromFile(file);
|
||||
m_fileChooserDirectory = file;
|
||||
}
|
||||
}
|
||||
@@ -4949,7 +4949,7 @@ void JaySynthAudioProcessorEditor::buttonClicked (Button* buttonThatWasClicked)
|
||||
if (fc.browseForFileToSave(true))
|
||||
{
|
||||
File const &file = fc.getResult();
|
||||
getProcessor()->saveBank(file);
|
||||
getProcessor()->saveBankToFile(file);
|
||||
m_fileChooserDirectory = file;
|
||||
}
|
||||
}
|
||||
@@ -4960,7 +4960,7 @@ void JaySynthAudioProcessorEditor::buttonClicked (Button* buttonThatWasClicked)
|
||||
if (fc.browseForFileToOpen())
|
||||
{
|
||||
File const &file = fc.getResult();
|
||||
getProcessor()->loadPatch(file, 0);
|
||||
getProcessor()->loadPatchFromFile(file, 0);
|
||||
m_fileChooserDirectory = file;
|
||||
}
|
||||
}
|
||||
@@ -4971,7 +4971,7 @@ void JaySynthAudioProcessorEditor::buttonClicked (Button* buttonThatWasClicked)
|
||||
if (fc.browseForFileToSave(true))
|
||||
{
|
||||
File const &file = fc.getResult();
|
||||
getProcessor()->savePatch(file, 0);
|
||||
getProcessor()->savePatchToFile(file, 0);
|
||||
m_fileChooserDirectory = file;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user