BLADERUNNER: Game freezes if exiting from KIA when audio device disabled
|Reported by:||antoniou79||Owned by:||antoniou79|
|Version:||Keywords:||freezing, disabled output sound device|
To reproduce in Windows 10, disable the audio output device from the "Manage Output devices" settings screen.
Currently, there will also be a logged warning:
WARNING: Could not open audio device: WASAPI can't find requested audio endpoint: Element not found.
WARNING: Sound initialization failed. This may cause severe problems in some games!
But the game will start. If an assertion fault is shown about _mixerReady, clicking ignore, will allow to proceed the game.
- The aforementioned assertion fault about _mixerReady in audio/mixer.cpp MixerImpl::playStream(), is thrown upon playing a new audio track (eg when each video cutscene starts)
- Subtitles will show for video cutscenes but will not show for in-game quotes, because their display time depends on a respective sound resource playing with a non-zero duration. Subtitles will show up if sound is only muted (because the track is still "playing") but not when the audio device is completely disabled.