Skip to content

Fix build for Swift 6.1. Declare AVFoundation import @preconcurrency#144

Open
sharpfive wants to merge 1 commit intomoonshine-ai:mainfrom
sharpfive:preconcurrency
Open

Fix build for Swift 6.1. Declare AVFoundation import @preconcurrency#144
sharpfive wants to merge 1 commit intomoonshine-ai:mainfrom
sharpfive:preconcurrency

Conversation

@sharpfive
Copy link

Swift 6 compiler was erroring because AVAudioPCMBuffer is not Sendable. Added @preconcurrency declaration to AVFoundation import.

Another fix would be to convert the buffer to [Float] but this likely isn't needed immediately.

Tested successful compilation and with MoonshineNoteTaker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant