Skip to content

recordbox 0.9.12 · Playback diagnostics and faster library views - #56

Merged
fantuz merged 9 commits into
mainfrom
perf/frame-stats
Dec 1, 2026
Merged

fantuz merged 9 commits into
mainfrom
perf/frame-stats

Conversation

@fantuz

@fantuz fantuz commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Prepare recordbox 0.9.12. The VERSION and Cargo files agree and release notes are in docs/releases/0.9.12.md.

Frame diagnostics

Add an opt-in CSV capture for main-window updates and audio callback health, based on the submitted patch. Use Ctrl+Alt+Shift+F12 (Cmd+Option+Shift+F12 on macOS) or set RECORDBOX_FRAME_STATS at launch. The performance guide explains the output.

File writing runs on a worker with a bounded queue and preserves existing files. The CSV reuses the existing transport sample and reports skipped rows, frame intervals, slow UI steps, callback load, and separate deck, sampler, and FX rack timeouts. Co-occurring events help narrow a search. They cannot identify a lock holder or confirm device underruns.

Playback and library fixes

  • Query the optional peak cap before taking the deck lock.
  • Resolve one imported ANLZ path per load and read the .2EX file once on the existing load worker for the waveform and vocals. Reuse that path for initial phrase analysis. Keep local fallbacks for incomplete and malformed analysis.
  • Reuse the collection path index until library metadata changes. Refresh Explorer roots asynchronously and show Windows drive letters without probing each volume.
  • Reuse shared preview meshes for stationary rows and update the placement when a row moves. Cache track display data per track and use borrowed column width keys without changing saved settings.
  • Register the WASAPI callback with Windows MMCSS Pro Audio once and revert on its owning thread. If registration fails, playback uses the existing scheduling.

Verification

Focused tests cover CSV output, backpressure and Explorer cache behavior, preview mesh placement and saved column keys. Added an imported sidecar regression for native waveform/vocals and local fallback. The Linux application and tests type-check. One Windows-target Cargo check passed for the MMCSS and drive enumeration code together. Native CI covers the full Windows package. Physical Windows scheduling and playback under background load remain to be verified.

@fantuz fantuz changed the title Add opt-in frame timing and audio diagnostics Measure and reduce playback UI stalls Dec 1, 2026
@fantuz fantuz changed the title Measure and reduce playback UI stalls recordbox 0.9.12 · Playback diagnostics and faster library views Dec 1, 2026
@fantuz
fantuz merged commit 49046ac into main Dec 1, 2026
47 of 55 checks passed
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