Default Bank IR volume correction

This commit is contained in:
Robin E.R. Davies
2026-06-04 13:46:11 -04:00
parent b5fd5188c7
commit b009d8824a
8 changed files with 115 additions and 7 deletions
+12
View File
@@ -188,6 +188,18 @@ namespace pipedal
}
return false;
}
BankFileEntry* getPresetByName(const std::string&presetName) {
for (std::unique_ptr<BankFileEntry> &preset: presets_)
{
if (preset->preset().name() == presetName)
{
return &(*preset);
}
}
return nullptr;
}
bool renamePreset(int64_t instanceId, const std::string &name)
{
if (hasName(name))