bugfixes, better MusicXML support and 1.1.0

This commit is contained in:
2026-06-10 08:41:07 -07:00
parent 6d3a0930a1
commit f59fd3b55a
228 changed files with 32271 additions and 2586 deletions
@@ -82,7 +82,7 @@ open class LyrebirdAudioUnit: AUAudioUnit {
/// Required override. Construct and return the synthesizer instance that this
/// AU should host.
///
/// `@MainActor` (Phase 201): the override constructs a `@MainActor` `SynthesizerBase`
/// `@MainActor`: the override constructs a `@MainActor` `SynthesizerBase`
/// subclass, so the factory must be main-actor-isolated for a consumer building under
/// the MainActor-default mode to override it with no concurrency annotations — the same
/// rationale as `SynthesizerBase.build()`. Invoked from `init` on the host's main thread.
@@ -443,7 +443,7 @@ open class LyrebirdAudioUnit: AUAudioUnit {
newEngine.auOutputBusOffsets = _outputBusOffsets
newEngine.auInputBusOffsets = _inputBusOffsets
try newEngine.start()
// `engine.add` is `@MainActor` (Phase 201). `allocateRenderResources()` overrides
// `engine.add` is `@MainActor`. `allocateRenderResources()` overrides
// `AUAudioUnit`'s nonisolated declaration, so this method cannot itself be
// `@MainActor`. AU hosts usually call render-resource allocation on the main thread,
// but the contract does not guarantee it — the bridge runs the add inline when on