Skip to content
New issue

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

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

Already on GitHub? # to your account

[bug] Playing sound is not supported on linux #6834

Closed
shi-yan opened this issue May 1, 2023 · 4 comments
Closed

[bug] Playing sound is not supported on linux #6834

shi-yan opened this issue May 1, 2023 · 4 comments
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@shi-yan
Copy link
Contributor

shi-yan commented May 1, 2023

Describe the bug

My project needs to play audio. https://github.com/shi-yan/broca

it is implemented by doing "new Audio(url).play();" in javascript.

The url is a local mp3 file.

Things work fine on mac, but doesn't work on linux. No sound is played and no error messages either.

Reproduction

create a tauri project with a local mp3 file,

in javascript, do new Audio(url).play()

Expected behavior

Audio should be played

Platform and versions

will provide later (don't have access to my linux at the moment)

Stack trace

No crash.

Additional context

No response

@shi-yan shi-yan added status: needs triage This issue needs to triage, applied to new issues type: bug labels May 1, 2023
@tensor-programming
Copy link
Member

What distribution have you tried this one? I was unable to recreate it with debian on WSL though I will try it again on my native PopOS (ubunutu based) laptop.

@shi-yan
Copy link
Contributor Author

shi-yan commented May 2, 2023

I'm using ubuntu 20.04

@tensor-programming
Copy link
Member

tensor-programming commented May 2, 2023

Thanks. Ill check it out and get back to you then. I do have a hunch already about what the issue might be related to.

@FabianLars
Copy link
Member

duplicate of #3725

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
Status: 📬Proposal
Development

No branches or pull requests

3 participants