Open xuyunfengsp opened 1 year ago
From the error message I would guess you're correct. Although I would expect your OS to work. You could try using the unreleased version (github.com/gopxl/beep@main
) of the new fork https://github.com/gopxl/beep. We've upgraded the version of the Oto package there which comes with some changes to the drivers which may or may not solve your problem.
If that doesn't work let me know and I'll help you debug a bit (don't have time right now, therefore this quick response) or let them at Oto know.
I encountered an error while using this package. Is it related to the version of the operating system? The same code works on Windows but gives this error on the M1 Mac.
../../go/pkg/mod/github.com/hajimehoshi/oto@v1.0.1/context.go:69:12: undefined: newDriver
go version go1.21.3 darwin/arm64