Skip to content

Bounce: offline rendering, much faster than real time (PR 138, ported onto main) - #153

Merged
fabox-os merged 2 commits into
mainfrom
review/pr-138-offline-bounce
Nov 22, 2026
Merged

fabox-os merged 2 commits into
mainfrom
review/pr-138-offline-bounce

Conversation

@fabox-os

Copy link
Copy Markdown
Owner

Ports #138's offline bounce commit onto current main. #138 was stacked on #121's old plug-in design, which #143 replaced, so it could not merge as is.

Changes from the original commit:

  • The plug-in offline hook uses main's BlockEffect trait (set_offline, default no-op), forwarded through PluginSlot, Fx and Chain; the app's Hosted wrapper forwards it to the plug-in host.
  • Engine::offline sets the device_id and buffer_frames fields that main added.
  • The offline plug-in test is ported to BlockEffect.
  • Bounce, Export Track, Bounce in Place and Bounce and Join use the offline renderer; PROWAVE_BOUNCE_REALTIME=1 keeps the old path.

Known limits, unchanged from #138: a track monitoring a live input is silent in an offline bounce; the 30 s waits are not timed on real hardware.

🤖 Generated with Claude Code

Maxime Randazzo and others added 2 commits November 22, 2026 01:11
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

Ported onto main, where the plug-in design changed: the engine's plug-in trait is now
BlockEffect (crates/prowave-engine/src/plugin.rs), so set_offline is a BlockEffect method
with a no-op default, forwarded through PluginSlot, Fx and Chain. The app's Hosted wrapper
(hosted_plugins.rs) forwards it to the plug-in host. The offline plug-in test uses BlockEffect.
The Engine::offline constructor sets main's new device_id and buffer_frames fields.
…solated

On Windows the isolated (Remote) processor is compiled out, so the offline flag was unused and
clippy -D warnings failed.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@fabox-os
fabox-os merged commit 09c5339 into main Nov 22, 2026
10 checks passed
fabox-os pushed a commit that referenced this pull request Nov 22, 2026
main gained the offline bounce (#153) and the Piano Roll changes (#156) since this branch
started. Resolved: begun_bounce from main kept, the import doc comment kept, locale lines
unioned.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
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