SDL 3.0 Will Now Prefer PipeWire Over PulseAudio
![LINUX GAMING](/assets/categories/linuxgaming.webp)
Back in 2021 for SDL2 native PipeWire support was added. The change merged on Thursday for SDL 3.0 is the logic to be able to prefer using the native PipeWire support in place of PulseAudio, assuming your SDL is built with both PipeWire and PulseAudio support enabled.
The SDL library is now able to prefer using PipeWire if it detects the "pipewire-pulse" service running on the system. SDL will use DBus to query systemd to check for pipewire-pulse and then if so proceed to use the native PipeWire code path rather than PulseAudio. If Dbus support or systemd are not available, the standard audio driver order will be used.
PipeWire has been a resounding success for the modern Linux desktop to fulfill the needs of PulseAudio/JACK and much more with modern audio/video stream management and other expanding capabilities.
This improved audio driver selection logic for the Simple DirectMedia Layer was merged via this commit to the SDL3 Git code.
51 Comments