Repository navigation
fix(playback): refactor Auto DJ eager prefetcher and C++ Oboe Automix processor - #430
Merged
Merged
Conversation
… processor - Eager prefetch within 2 seconds of playback start instead of waiting near track end - Require >= 12.0s of decoded PCM in RAM ring buffer before marking Deck B as ARMED_READY - Freeze Opus-to-FLAC stream hot-swapping during transitions, pre-decoding, or near track end - Safe fallback when buffered < 8.0s: continue natural playback to track end for clean handoff - Eliminate clipping: attenuation-only loudness matching, equal-power correlated-bass headroom compensation, Butterworth Q=0.7071 filters, scaled wet FX returns, and tanh master soft-knee safety limiter - Eliminate zipper noise & clicks: Cytomic SVF crossover, per-sample one-pole parameter smoothing, and continuous cosine S-curve bass swap - Strict lock-free real-time audio thread: pre-allocated scratch/loop buffers, no mutexes or allocations in onAudioReady()
…nullability in AutoDJController
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves 4 critical playback bugs in Auto DJ and Automix:
Key Changes
1. Eager Prefetch & RAM Pre-Decoded Buffer
2. Clipping & Distortion Elimination in C++ Oboe Mixer
3. Per-Sample Smoothing & S-Curve Crossover
4. Lock-Free Real-Time Audio Thread
Verification