Alternative approach for zero-latency cables

This commit is contained in:
falkTX 2022-02-06 22:26:13 +00:00
parent 7722e5df35
commit c1f436eea0
2 changed files with 6 additions and 0 deletions

View file

@ -203,6 +203,11 @@ static void Engine_stepFrame(Engine* that) {
// Step each module
for (Module* module : internal->modules) {
module->doProcess(processArgs);
// FIXME remove this section below after all modules can use zero-latency cable stuff
for (Output& output : module->outputs) {
for (Cable* cable : output.cables)
Cable_step(cable);
}
}
++internal->frame;