Skip to content

undefined: newDriver #167

Description

@xuyunfengsp

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

Activity

  1. MarkKremer commented on Oct 22, 2023

    @MarkKremer
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions