Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined: newDriver #167

Open
xuyunfengsp opened this issue Oct 21, 2023 · 1 comment
Open

undefined: newDriver #167

xuyunfengsp opened this issue Oct 21, 2023 · 1 comment

Comments

@xuyunfengsp
Copy link

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/[email protected]/context.go:69:12: undefined: newDriver

go version go1.21.3 darwin/arm64

@MarkKremer
Copy link
Contributor

MarkKremer commented Oct 22, 2023

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.

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

No branches or pull requests

2 participants