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

Audio device not detected on Linux #51

Closed
dalum opened this issue Aug 7, 2020 · 3 comments
Closed

Audio device not detected on Linux #51

dalum opened this issue Aug 7, 2020 · 3 comments

Comments

@dalum
Copy link
Contributor

dalum commented Aug 7, 2020

Just noticed that after upgrading to v0.2.* (so, using the JLLs), audio no longer works on Linux (I haven't tested on other OSs). The tests are passing fine, since the tests for audio contains a check if device == 0 that skips the tests if the audio device isn't found. I'm not entirely sure how to fix it, but since it works pre-JLL, I guess there is an issue with the provided binaries.

@dalum
Copy link
Contributor Author

dalum commented Aug 8, 2020

I've spent some time debugging it. It turns out that if I replace libSDL2-2.0.so.0.12.0 in the artifact with my system libSDL2-2.0.so.0.12.0, then audio works fine again. So there must be something wrong with the .so file in the JLL. The one in the JLL is also 7.8M, whereas my system one is only 1.4M.

@aviks
Copy link
Contributor

aviks commented Aug 8, 2020

I just wanted to report that I use the latest SDL jll on windows 10, and audio does play successfully.

@aviks
Copy link
Contributor

aviks commented Sep 24, 2022

Duplicate of #52. Further discussion there.

@Gnimuc Gnimuc closed this as completed Oct 29, 2022
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

3 participants