bugfixes, better MusicXML support and 1.1.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user