This commit is contained in:
Robin Davies
2024-08-12 13:31:32 -04:00
parent fcc5e813a4
commit 0baebea818
30 changed files with 83 additions and 41 deletions
+10 -1
View File
@@ -142,7 +142,11 @@ void PiPedalModel::Init(const PiPedalConfiguration &configuration)
this->systemMidiBindings = storage.GetSystemMidiBindings();
this->jackServerSettings.ReadJackDaemonConfiguration();
#if JACK_HOST
this->jackConfiguration = this->jackConfiguration.JackInitialize();
#else
this->jackServerSettings = storage.GetJackServerSettings();
#endif
}
void PiPedalModel::LoadLv2PluginInfo()
@@ -945,6 +949,11 @@ bool PiPedalModel::RenamePreset(int64_t clientId, int64_t instanceId, const std:
if (storage.RenamePreset(instanceId, name))
{
this->FirePresetsChanged(clientId);
if (storage.GetCurrentPresetId() == instanceId)
{
this->pedalboard.name(name);
this->FirePedalboardChanged(-1);
}
return true;
}
else