PKBeam / Edda

A beatmap editor for the VR rhythm game Ragnarock
GNU General Public License v3.0
34 stars 8 forks source link

Edda crashes if the selected audio device is not plugged in #92

Closed Brollyy closed 10 months ago

Brollyy commented 11 months ago

image

Brollyy commented 11 months ago

Steps to reproduce:

  1. Set Output Device in settings to specific device.
  2. Close Edda.
  3. In Device Manager, disable the device.
  4. Open Edda again and select any map.

We should probably detect this and fallback to default device: https://learn.microsoft.com/en-us/windows/win32/coreaudio/recovering-from-an-invalid-device-error