Restore the bank fold and usage publish to the resume path, guard setActive against repeats, and make the meter fold's bound literal
The resume also hands back to a full reload when the fold moves the loaded capture's decode source, so the refs table and the audio cannot skew.
This commit is contained in:
@@ -104,6 +104,12 @@ void refreshRefsFromBank(SampleRefs& refs, const std::string& banksJson,
|
||||
}
|
||||
}
|
||||
|
||||
bool sameDecodeSource(const SelectedSample& a, const SelectedSample& b) {
|
||||
return a.relativePath == b.relativePath && a.rootNote == b.rootNote &&
|
||||
a.channelCount == b.channelCount && a.loop.hasLoop == b.loop.hasLoop &&
|
||||
a.loop.start == b.loop.start && a.loop.end == b.loop.end;
|
||||
}
|
||||
|
||||
LegacyLiftDecision legacyLiftDecision(const std::optional<std::string>& banksJson,
|
||||
const std::vector<std::string>& ids) {
|
||||
if (!banksJson || banksJson->empty()) return LegacyLiftDecision::Retry;
|
||||
|
||||
Reference in New Issue
Block a user