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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user