audio: Prefer PipeWire over PulseAudio
This commit is contained in:
parent
19ae71b2db
commit
91830ade7e
|
@ -35,6 +35,9 @@ static SDL_AudioDevice *open_devices[16];
|
||||||
|
|
||||||
/* Available audio drivers */
|
/* Available audio drivers */
|
||||||
static const AudioBootStrap *const bootstrap[] = {
|
static const AudioBootStrap *const bootstrap[] = {
|
||||||
|
#if SDL_AUDIO_DRIVER_PIPEWIRE
|
||||||
|
&PIPEWIRE_bootstrap,
|
||||||
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_PULSEAUDIO
|
#if SDL_AUDIO_DRIVER_PULSEAUDIO
|
||||||
&PULSEAUDIO_bootstrap,
|
&PULSEAUDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
|
@ -107,9 +110,6 @@ static const AudioBootStrap *const bootstrap[] = {
|
||||||
#if SDL_AUDIO_DRIVER_JACK
|
#if SDL_AUDIO_DRIVER_JACK
|
||||||
&JACK_bootstrap,
|
&JACK_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_PIPEWIRE
|
|
||||||
&PIPEWIRE_bootstrap,
|
|
||||||
#endif
|
|
||||||
#if SDL_AUDIO_DRIVER_OSS
|
#if SDL_AUDIO_DRIVER_OSS
|
||||||
&DSP_bootstrap,
|
&DSP_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue