From adc0a931dd81caae433180d9824cb8f6e86604ec Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Wed, 24 Feb 2021 14:08:08 -0500 Subject: [PATCH] audio: Move Pipewire bootstrap after Jack Move the Pipewire audio driver below others in the list so it won't be mistakenly initialized when it's not the system mixer. --- src/audio/SDL_audio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index 30128fe37..844838a55 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c @@ -41,9 +41,6 @@ static const AudioBootStrap *const bootstrap[] = { #if SDL_AUDIO_DRIVER_ALSA &ALSA_bootstrap, #endif -#if SDL_AUDIO_DRIVER_PIPEWIRE - &PIPEWIRE_bootstrap, -#endif #if SDL_AUDIO_DRIVER_SNDIO &SNDIO_bootstrap, #endif @@ -107,6 +104,9 @@ static const AudioBootStrap *const bootstrap[] = { #if SDL_AUDIO_DRIVER_JACK &JACK_bootstrap, #endif +#if SDL_AUDIO_DRIVER_PIPEWIRE + &PIPEWIRE_bootstrap, +#endif #if SDL_AUDIO_DRIVER_OS2 &OS2AUDIO_bootstrap, #endif