Emulator Issues #12150
closedWasapi needs to either fallback to another audio backend or at least a functional error when the audio device isn't compatible
0%
Description
At least on windows, several programs such as fx sound create virtual devices for audio that don't work correctly with wasapi, at least with dolphins config (it does work with other programs where it just goes through the list of audio devices and outputs to whatever works, no idea how that works). When you attempt to launch a game with the WASAPI backend on such a config causes dolphin to lockup and crash with no panic alert or anything.
Updated by JMC4789 over 4 years ago
- Status changed from New to Accepted
- Priority changed from Normal to High
Seems reasonable.
Updated by JosJuice over 4 years ago
- Has duplicate Emulator Issues #12149: Wasapi needs a fallack to either cubeb or open al or at least a functional error message when the sound deviceisn added
Updated by JosJuice over 4 years ago
- Milestone set to Current
- Operating system Windows added
- Operating system deleted (
N/A)
Updated by badkarma12 over 4 years ago
It should be noted that starting a game in this config only crashes the emulation window but attempting to stop the emulation by hitting the stop window while dolphin is in this state also crashes the main dolphin dolphin window separately. I think this is actually a second bug with the shutdown procedure. Would you like a second bug report for that?
Updated by badkarma12 over 4 years ago
As trying to stop emulation even of a frozen game shouldn't really crash the entirety of dolphin even if shit goes wrong.
Updated by JosJuice over 4 years ago
Do you mean that it freezes rather than crashes? (The two windows can't crash independently.) If so, I don't think there's much we can do about this second issue.
Updated by filoppi over 4 years ago
I've increased WASAPI compatibility so this shouldn't be an issue anymore.
I've also fixed the crashes when something changes in the device used by WASAPI.
Will push soon.
Updated by filoppi over 4 years ago
Though falling back on another backend isn't worth it and would requite too much work. I'm aware that unfortunately dolphin basically just soft locks if WASAPI does not initializes correctly. Though unless you have an audio device (sound card) that doesn't support 16 bit PCM, which is basically impossible, there is no problem anymore.
Updated by filoppi over 4 years ago
mmm maybe it would also break if you device does not support 2 channel only audio. How many channels is your audio device?
Updated by JosJuice over 4 years ago
- Is duplicate of Emulator Issues #11297: Dolphin hangs if WASAPI loses Exclusive Mode added