TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
182 stars 3 forks source link

[BUG] When the game is ran for the first time from startup, the audio isn't redirected to the right output in Kubuntu 24.04 LTS #751

Open DavideCannonito opened 1 month ago

DavideCannonito commented 1 month ago

Is there an existing issue for this?

Operating System

Kubuntu 24.04 LTS

CPU

No response

GPU

No response

Storage

240GB Internal SSD

Game Version

4.19.0

Game Mode

dance

Theme

Soundwaves (OutFox 0.4 default)

Describe the problem

When powering on the computer, launching the game after plugging another output (in my case a USB Bluetooth with AptX Low Latecy codec) will make it so that the audio gets rerouted to the laptop speakers despite not being the selected output in KDE Plasma 5. If the game gets launched again, the audio will be outputted to the correct device, that is the USB Audio I plugged in.

While the game is ran for the first time, no audio gets heard when testing the audio by either turning down the volume or up, or where you can test the Left Speaker or the Right Speaker, but when the game gets closed sometimes the audio that wasn't heard gets played for a split second, as if it got "buffered".

The issue doesn't happen in Debian 12.

Describe what should happen

The game should reroute the audio to the USB Audio device without relaunching the game.

Relevant Log output

Logs from the first run.log Logs from the second run of the game.log