Page 1 of 1

USB Audio interface support?

Posted: Tue Oct 17, 2023 8:48 pm
by Madrayken
Just received a bug report from a Moonring player.

"Just writing to let you know about a small bug I've encountered with your game Moonring. It seems that the audio is not working when using an external USB audio interface (Behringer UMC404HD on Windows 10). I don't have this issue with any other games or applications and I'm not sure if its happening with other USB audio interfaces. It's not high priority as I'm able to work around it by just using another audio interface (like my PC's onboard audio) but I thought I'd let you know in case you weren't aware of this."

I don't have a USB audio interface to test on, but is this something that should just work automatically? Any setup of love.audioWhatever I should be doing? Any thoughts or experience with this much welcomed.

- Dene

Re: USB Audio interface support?

Posted: Tue Oct 17, 2023 9:41 pm
by BrotSagtMist
Well its ONE report.
I would not care about that unless its multiple.

But seeing that there is a query function to check if for example effects are supported it sounds plausible that some stuff wont work on certain hardware.
So maybe you are using effects or a file format that is above what this card or its drivers can deliver.

Re: USB Audio interface support?

Posted: Tue Oct 17, 2023 10:13 pm
by Madrayken
I tend to be over-reactive when it comes to player complaints. I care too much. :-)
I am using effects. A lot. In fact, the unique sound of the mod-tracker output is me using those effects to EQ and reverb the game's audio.

Re: USB Audio interface support?

Posted: Tue Oct 17, 2023 10:30 pm
by BrotSagtMist
"Not all systems support audio effects. Use love.audio.isEffectsSupported to check."
Questionable what happens if you just set an effect that doesnt work, does it stay silent? No error messages?
But yea sounds like this is the easy explanation.

Re: USB Audio interface support?

Posted: Thu Oct 19, 2023 6:26 am
by zorg
I believe that Löve 12.0 will have the ability to select the actual audio device for the game to use, so that might be a solution, regardless whether effects are used or not; that's not the issue if there's no sound *at all*.

Alternatively, that device might work only in exclusive mode, and if another application already requested that, then OpenALSoft in löve won't be able to use that as an output device, i believe.