-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22.10: Project closes if there are no audio output devices #67900
Comments
Godot should definitely be able to fallback if no audio output device is present, but this needs to be checked on all platforms. |
It looks like this error might be related to the way the code is written in 'godot/audio_driver_pulseaudio.cpp' There seems to be no built-in case for an actual 0 device error; I'm not sure if it's supposed to be coded that way intentionally.
So the less than 0 condition is called instead, rather than a condition that would allow for a complete lack of an audio device? |
@DreamHollow Can you test changing |
This is no longer reproducible on my configuration. Let's close this if nobody can confirm it. |
Closing per the above comment. For future readers, please comment if you can still reproduce this on the latest Godot version. |
Godot version
v3.5.stable.official [991bb6a], v4.0.beta3.official [01ae26d]
System information
Kubuntu 22.10
Issue description
Not sure if this is a Godot or Ubuntu bug, but I'll report it here as the running project is closing. I think this is wrong behavior.
When trying to play audio, the running project closes with the following errors if there are no audio output devices (for example, headphones are not connected).
Perhaps this is due to the fact that in 22.10 Ubuntu switched from PulseAudio to PipeWire.
Steps to reproduce
Try running a project with audio on Ubuntu 22.10 without audio output devices.
If any configs are required, I can provide them.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: