Skip to content

NativeAudioScheduler

Class

Source: 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.

Inheritance

AudioSchedulerNativeAudioScheduler

Methods

explicit NativeAudioScheduler(size_t ringBufferSize = 4096)

const ApuCore& core() const

ApuCore& core()

Released under the MIT License.