Phase 3: engine render chain hop nhat — track/master doc mastering_settings.chain (imager/maximizer), PDC probe FX_LATENCIES, fix daw_vst_bridge link BuiltinFxChain, pytest 3.2/3.3
This commit is contained in:
@@ -1016,6 +1016,17 @@ int run_render_fx_job(const std::string& jobPath, const std::string& inPath,
|
||||
sl.fx = std::move(fx);
|
||||
}
|
||||
|
||||
// 4b. Per-slot latency (PDC, Phase 3): vst3 = getLatencySamples() (0 nếu
|
||||
// chưa load/bypass), builtin = 0. 1 dòng stdout để native_render parse →
|
||||
// render_engine align track (cùng thứ tự mảng slots).
|
||||
std::cout << "[RenderFx] FX_LATENCIES";
|
||||
for (const auto& sl : slots) {
|
||||
uint32_t lat = 0;
|
||||
if (sl.vst && !sl.bypass && sl.fx) lat = (uint32_t)sl.fx->latencySamples();
|
||||
std::cout << ' ' << lat;
|
||||
}
|
||||
std::cout << std::endl;
|
||||
|
||||
// 5. Process chain block-wise. Double-buffered: cur ← slot → nxt, swap.
|
||||
std::vector<float> L0(chunk), R0(chunk), L1(chunk), R1(chunk);
|
||||
std::vector<float> curL(chunk), curR(chunk);
|
||||
|
||||
Reference in New Issue
Block a user