2
0
Fork 0

Update PluginProcessor.cpp

This commit is contained in:
George Reales 2021-03-30 21:17:49 +02:00
parent 576e6f52bc
commit 1ffdd81632

View file

@ -468,6 +468,7 @@ bool ObxdAudioProcessor::deleteBank() {
{ {
loadFromFXBFile (bankFiles[0]); loadFromFXBFile (bankFiles[0]);
} }
return true;
} }
void ObxdAudioProcessor::saveBank() { void ObxdAudioProcessor::saveBank() {
@ -478,6 +479,7 @@ bool ObxdAudioProcessor::loadPreset(const File& fxpFile) {
loadFromFXBFile(fxpFile); loadFromFXBFile(fxpFile);
currentPreset = fxpFile.getFileName(); currentPreset = fxpFile.getFileName();
currentPresetFile = fxpFile; currentPresetFile = fxpFile;
return true;
} }
bool ObxdAudioProcessor::saveFXPFile(const File& fxpFile){ bool ObxdAudioProcessor::saveFXPFile(const File& fxpFile){
@ -544,6 +546,7 @@ void ObxdAudioProcessor::savePreset() {
bool ObxdAudioProcessor::saveBank(const File& fxbFile){ bool ObxdAudioProcessor::saveBank(const File& fxbFile){
saveFXBFile(fxbFile); saveFXBFile(fxbFile);
currentBankFile = fxbFile; currentBankFile = fxbFile;
return true;
} }
bool ObxdAudioProcessor::saveFXBFile(const File& fxbFile) { bool ObxdAudioProcessor::saveFXBFile(const File& fxbFile) {