After upgrading to 2.90 sound is out and gamnes not all working.

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
Stingm
Posts: 11
Joined: Sun Sep 27, 2020 6:22 pm

After upgrading to 2.90 sound is out and gamnes not all working.

Post by Stingm »

I love scummvm and have never really had any issues. But I got the new 2.90 and get the following error: WARNING: Could not open audio device: WASAPI can't initialize audio client: ᧿!

Never had any issues like this before. As I said it was working fine windows 11 until the upgrade to 2.90. I would appreciate any help fixing.
User avatar
rootfather
ScummVM Lead
Posts: 184
Joined: Tue Mar 31, 2015 11:59 am
Location: Germany
Contact:

Re: After upgrading to 2.90 sound is out and gamnes not all working.

Post by rootfather »

IIRC we had issues like that in the past that were related to outdated Audio drivers and an update fixed it. Are other applications using WASAPI affected as well?

You could also try to set SDL_AUDIODRIVER=directsound as environment variable, trying to use DSound instead of WASAPI.
Stingm
Posts: 11
Joined: Sun Sep 27, 2020 6:22 pm

Re: After upgrading to 2.90 sound is out and gamnes not all working.

Post by Stingm »

No other apps effected. I assume I go to scummvm.exe and right click properties and add that bit to the end of the launch file?
How do i set that variable?
Stingm
Posts: 11
Joined: Sun Sep 27, 2020 6:22 pm

Re: After upgrading to 2.90 sound is out and gamnes not all working.

Post by Stingm »

How do i set the variable set SDL_AUDIODRIVER=directsound ? Any help appreciated?
User avatar
Praetorian
ScummVM Developer
Posts: 927
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: After upgrading to 2.90 sound is out and gamnes not all working.

Post by Praetorian »

Read through this topic; the linked post specifically has instructions on how to do this in a shortcut for ScummVM (adjust any paths according to your own of course):
viewtopic.php?p=98867#p98867
User avatar
Raziel
ScummVM Porter
Posts: 1578
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet
Contact:

Re: After upgrading to 2.90 sound is out and gamnes not all working.

Post by Raziel »

in cmd prompt, do

Code: Select all

setx /M SDL_AUDIODRIVER "directsound"
drop the /M switch if you only want to set it for the current user (not globally)
Stingm
Posts: 11
Joined: Sun Sep 27, 2020 6:22 pm

Re: After upgrading to 2.90 sound is out and gamnes not all working.

Post by Stingm »

Okay I tried that and all appears to be well. Thanks a bunch, as I love scummvm. Will I need to do this with every new version or should I try them first?
User avatar
Raziel
ScummVM Porter
Posts: 1578
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet
Contact:

Re: After upgrading to 2.90 sound is out and gamnes not all working.

Post by Raziel »

no, this a global value (as long as no other app changes it or you set your system up anew, it will stay)

all sdl apps will read and use it, so if you get sound problems in other apps you might want to revisit this.
Post Reply