ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.21k forks source link

Options for changing Sound Output Device #14542

Open xenkap opened 6 months ago

xenkap commented 6 months ago

What feature do you want to get added on the base engine?

It'd probably be nice if we could have a way of switching between sound devices like my laptop's speakers to the bluetooth headphones I use. It'd be a nice breath of fresh air to not see everything lock up and audio be completely silent.

https://github.com/kcat/openal-soft/commit/517bb94c0953de768f6aacca45456fd63bb2c96d Since the error that goes with this always goes with something like AL lib: (EE) ALCwasapiPlayback_mixerProc: Failed to get padding: 0x88890004, I assume it means OpenAL-- dug around and found this, maybe we could even have default device detection?

I'd personally try to make a pull request for this, but this is completely out of my field and I have no clue how to approach this or how OpenAL (or HaxeFlixel audio in general) works. This would be really appreciated, though!

To test your sight, and reliability, please select the option of what should NOT be requested.

Stage Editor, 6K+ support, and winning icons.

ShadowMario commented 5 months ago

This isn't a bad idea but I personally am not sure how to do that