v2.1.0 release: Swift 6.4 modernization

Typed throws across the closed-error-set APIs (OSC, MIDI, engine add/schedule,
bus/config/parameter, and the WAV/RF64/Spectral file codecs — source-compatible
narrowing, new .ioFailure cases), plus internal hardening: NSLock-guarded
scheduling/MIDI state moved to Mutex<State>, and the Spectral/FFT scratch owners
moved to a ~Copyable RTScratchBuffer RAII buffer. No API or behavioral change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-09-24 19:54:59 -07:00
parent 2c20b02e59
commit 844dc4d9cd
42 changed files with 835 additions and 640 deletions
+2 -1
View File
@@ -449,7 +449,8 @@ if task.terminationStatus == 0 {
> **Off Apple (Linux/Windows):** the portable WAV codec backs these renders, so
> a `WavFileError` — `.cannotCreate`, `.cannotOpen`, `.notWave`,
> `.unsupportedFormat`, `.truncated`, `.fileTooLarge` — can also escape
> `.unsupportedFormat`, `.truncated`, `.fileTooLarge`, `.ioFailure` (an
> underlying `FileHandle` failure) — can also escape
> `NRTDriver.setup`/`start`. A handler written against `NRTDriverError` alone
> will miss those. The Apple-only containers (CAF, AIFF-C, AAC, ALAC) throw
> `NRTDriverError.unsupportedFormatOnPlatform` there; render to