NativeAudioScheduler
ClassSource: NativeAudioScheduler.h
Inherits from: AudioScheduler
Description
Audio scheduler for native builds.
Runs ApuCore in its own std::thread and double-buffers samples through a lock-free ring, mirroring the dual-core ESP32 behaviour. All synthesis / sequencer logic lives in ApuCore; this class owns only threading and the ring buffer.
The render block is configuration (S12): it is read once in init() from the caller and rendered in a single generateSamples call into a member buffer of PR32_AUDIO_MAX_BLOCK_SAMPLES, so the output is exactly what one block-sized call per block produces.
Inheritance
AudioScheduler → NativeAudioScheduler
