Skip to content

P0 Windows: opt-in independent capture/render JUCE bridge with rollback and field diagnostics - #29

Closed
masarray wants to merge 33 commits into
mainfrom
feature/p0-live-split-device-optin
Closed

masarray wants to merge 33 commits into
mainfrom
feature/p0-live-split-device-optin

Conversation

@masarray

Copy link
Copy Markdown
Owner

P0 native split-stream opt-in integration

Implements a physical dual-device routing proof using two separately configured JUCE AudioDeviceManagers (capture-only and render-only) with independent callbacks and the previously tested SPSC/ASRC pipeline. Render is clock master; capture format/rate negotiates independently, and output data is processed in bounded callback chunks.

Safety gates

  • Experimental 0-VST3 route only: reject FX edits and snapshot actions while active; no untested plugin lifetime transition.
  • Muted, message-thread setup migration from joined JUCE I/O into dual managers, rollback to original settings on failure; reversible from native SIGNAL CHECK and AUDIO SETUP.
  • On callback-reported driver error, message thread switches back to original joined backend. Backend state/FIFO drops/bridge underflows/SRC ppm are included in COPY FULL REPORT.
  • Existing locked mixer visuals untouched; only native-only SIGNAL CHECK overlay gains explicitly labeled experimental toggle.

Not yet claimed

Not certified crackle-free. The opted-in route uses provisional 25ms FIFO latency, not proof of ultra low latency. True WASAPI IAudioClient3 periods/endpoint IDs/render starvation provenance, complete AUTO/STABLE policy and live FX graph integration still remain P0 #15. Require Windows MSVC + all Release CTests, Chromium GUI and review resolution before merge. Physical acceptance only after consolidated P0 completion.

Stacked on PR #26; DO NOT merge before #26 and final CI green.
Refs: #15 ; #26

Copy link
Copy Markdown
Owner Author

RECONCILIATION 2026-10-26 — Remains DRAFT/ARCHIVAL, not merged. The opt-in independent-stream architecture is already integrated differently via #35 and hardened by #39/#40/#45/#50/#52/#55. This PR has diverged (~95 commits behind latest main) and overlaps latest LiveAudioEngine/Main/endpoint policy; blind merge would regress ASIO-first and route fencing. Preserve branch/history; only port separately proven feature gaps as new main-based work after #15 diagnostics.

Copy link
Copy Markdown
Owner Author

Backlog reconciliation — archived as SUPERSEDED (NOT merged). Stacked independent device adapter contains unique prototypes but must be re-evaluated for physical source/render clocks and safety under #15. Not a production-approved second DSP/callback.

Current PRD v5 / ARD v5. Active owners: native #266 / epic #192, UI #265, physical #15, Show #180 and owner GUI #176. This PR's historical commits remain accessible, and no head is blindly merged into modern engine.

@masarray masarray closed this Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant