Ψ-W1-T2 review remediation: solo restore drops on visible-in-target, not parked; N-mode segments read dead when unroutable
Fixes a hidden-parent solo replay that could silence the mix. Also closes the N-mode segment silent no-op, amends the invariant comment, trims view.cpp under 600 lines, hedges two SDK inferences, drops a dead null-check.
This commit is contained in:
@@ -44,4 +44,18 @@ void applySoloOps(const TrackHandles& handles, const std::vector<view::SoloOp>&
|
||||
}
|
||||
}
|
||||
|
||||
void clearTrackSolos(const TrackHandles& handles, const std::map<std::string, int>& soloed) {
|
||||
std::vector<view::SoloOp> ops;
|
||||
ops.reserve(soloed.size());
|
||||
for (const auto& entry : soloed) ops.push_back(view::SoloOp{entry.first, 0});
|
||||
applySoloOps(handles, ops);
|
||||
}
|
||||
|
||||
void restoreTrackSolos(const TrackHandles& handles,
|
||||
const std::map<std::string, int>& cached,
|
||||
const std::set<std::string>& liveGuids,
|
||||
const std::set<std::string>& visibleGuids) {
|
||||
applySoloOps(handles, view::planSoloRestore(cached, liveGuids, visibleGuids));
|
||||
}
|
||||
|
||||
} // namespace reasampler
|
||||
|
||||
Reference in New Issue
Block a user