Drewol / unnamed-sdvx-clone

A game based on K-Shoot MANIA and Sound Voltex
MIT License
776 stars 93 forks source link

[Bug] Game failed to launch when turning on WASAPI exclusive mode #325

Open ghost opened 4 years ago

ghost commented 4 years ago

Describe the bug The log clearly stated that exclusive format successful, but then the game failed to initialize in WASAPI exclusive mode.

To Reproduce Steps to reproduce the behavior:

  1. Launch game with WASAPI enabled

Expected behavior The game should launch without any errors.

Desktop (please complete the following information):

Log file

[22:01:22][Info] Starting task "Audio Init" [22:01:22][Error] Default format not supported in exclusive mode, attempting other formats [22:01:22][Info] Attempting exclusive mode format: Sample Rate: 192000hz, Bit Depth: 32bit, Format: PCM [22:01:22][Info] Format successful [22:01:22][Error] Failed to initialize audio client with the selected settings [22:01:22][Warning] Failed to open in WASAPI Exclusive mode, attempting shared mode. [22:01:23][Info] Finished task "Audio Init" in 1214 ms

Hinara commented 4 years ago

Can you show the advancement tab on one of your audio card with 32bit, 192000hz and Exclusive mode checked ? If you cannot choose this kind of parameter it is normal that you cannot run USC with WASAPI exclusive

ghost commented 4 years ago

image

Hinara commented 4 years ago

Maybe does it need two audio channels ? :/ Not sure about this one.

ghost commented 4 years ago

I'm using a 2.1 speaker, so I think it has 2 channel