Skip to content

Conversation

@adriengivry
Copy link
Member

@adriengivry adriengivry commented Mar 29, 2025

Description

Added validation to make sure the irrklang audio engine is successfully created. Otherwise, skip playing sounds and log warnings.

Related Issues

Closes #405

Notes

I think the AudioEngine could benefit from a deeper rework (out of scope for this PR). The AudioEngine should update at runtime if a device becomes available.

@adriengivry adriengivry added Bug Critical Something that should be fixed quickly Crash Something that causes a crash labels Mar 29, 2025
@adriengivry adriengivry self-assigned this Mar 29, 2025
@adriengivry adriengivry force-pushed the fix/no_audio_device_crash branch from 046933f to ba1cdce Compare March 29, 2025 01:26
@adriengivry adriengivry merged commit 9a365ad into main Mar 30, 2025
1 check passed
@adriengivry adriengivry deleted the fix/no_audio_device_crash branch March 30, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Crash Something that causes a crash Critical Something that should be fixed quickly

Development

Successfully merging this pull request may close these issues.

Overload crashes when no audio output device is found

3 participants