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 is permanently disabled...? #3012

Open
weluvgoatz opened this issue Jul 11, 2024 · 6 comments
Open

Audio is permanently disabled...? #3012

weluvgoatz opened this issue Jul 11, 2024 · 6 comments

Comments

@weluvgoatz
Copy link
Member

In the latest nightly, on Windows 10, using x64 and RelWithDebInfo, the audio in the game seems to be permanently disabled. I can't hear anything. I confirmed this wasn't an issue with my machine. So I went to the settings, and it just says this, all the time:
image
I also checked in my config file, and the settings there are normal (ie the sound should be playing), but just in-game all the audio seems to be turned off for me.

If anyone could help with this, it would be greatly appreciated. Thank you.

@komaros1
Copy link

I remember playing 0.6.0 and this would happen randomly

@tobbi
Copy link
Member

tobbi commented Jul 12, 2024

This happens when either

  m_device(alcOpenDevice(nullptr)),

OR

  m_context(alcCreateContext(m_device, nullptr)),

fail.

@tobbi
Copy link
Member

tobbi commented Jul 16, 2024

Can you open SuperTux using the command line and check if you see any of those errors:

Couldn't create audio context: ...
Couldn't open audio device.

@pazkero
Copy link
Contributor

pazkero commented Jul 18, 2024

IRC/Discord Transcript (partial) for sake of this not getting lost randomly. Unrelated discussion was ommitted. this is definitely not because I was bored

matusguy — Yesterday at 14:20

weluvgoatz: can you review #3023 by copying the batch file into your portable build

weluvgoatz — Yesterday at 14:36

THE MUSIC IS BACK

matusguy — Yesterday at 14:36

WHY

weluvgoatz — Yesterday at 14:37

i don't know how, but using the portable builds....fixed the music?

weluvgoatz — Yesterday at 14:37

ok, so it's just the installer then....hmm....

matusguy — Yesterday at 14:37

Daniel go to the installation directory and look for openal in bin/

weluvgoatz — Yesterday at 14:38

ok
!Image
interesting...
[openal] not edited since 2016

matusguy — Yesterday at 14:39

THAT'S INDEED QUITE INTERESTING.

weluvgoatz — Yesterday at 14:39

and it's presumably 32 bit even though this is a 64 bit build

matusguy — Yesterday at 14:39

weluvgoatz have you tried downloading other builds ever since the audio issue has happened to you?

weluvgoatz — Yesterday at 14:44

yes
and all the x64 installers relwithdebinfo all had the same issue

matusguy — Today at 04:53

Can you compare this to the openal dll in the portable build

@weluvgoatz
Copy link
Member Author

Ok, by moving the dll in the portable build, the issue is fixed.

@tobbi
Copy link
Member

tobbi commented Jul 18, 2024

So then the question remains why it packages wrong DLLs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants