Review audio processing code for real-time safety, correctness, and best practices. Use when writing or modifying audio playback, mixing, or DSP code.
Review audio code in $0 (or the entire src/ directory if no argument given) against the following checklist.
The audio callback must never block. Flag any of these in code that runs on the audio thread:
new, malloc, std::vector::push_back, std::string construction)std::mutex::lock, non-try locks)For each finding, report: