v2.3.3 release: cross-platform driver in docs (makeDefaultAudioDriver)

This commit is contained in:
2026-12-01 21:32:39 -08:00
parent 56726223f6
commit a175c437de
23 changed files with 54 additions and 43 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ import LyrebirdSynth
let engine = SynthesisEngine(
blockSize: 512, sampleRate: 48000,
numOutputChannels: 2, numInputChannels: 2,
driver: CoreAudioDriver()
driver: makeDefaultAudioDriver() // CoreAudio (macOS) / iOS / ALSA (Linux)
)
do { try engine.start() } catch { print("Engine failed: \(error)"); exit(1) }