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

play() doesn't work with latest deno 1.26.2 on Windows #8

Open
cyantree opened this issue Oct 18, 2022 · 0 comments
Open

play() doesn't work with latest deno 1.26.2 on Windows #8

cyantree opened this issue Oct 18, 2022 · 0 comments

Comments

@cyantree
Copy link

I tried to use your module with the latest deno version and stumbled upon the following error:

error: Uncaught (in promise) TypeError: Invalid FFI pointer type, expected null, integer or BigInt
await play("music.mp3");

This seems to be related to some type changes.
I could fix it by changing pointer to buffer here:

play: { parameters: ["pointer", "usize"], result: "void", nonblocking: true },

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 a pull request may close this issue.

1 participant