mirror of https://github.com/encounter/SDL.git
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.
This commit is contained in:
parent
21adec93b9
commit
adc0a931dd
|
@ -41,9 +41,6 @@ static const AudioBootStrap *const bootstrap[] = {
|
||||||
#if SDL_AUDIO_DRIVER_ALSA
|
#if SDL_AUDIO_DRIVER_ALSA
|
||||||
&ALSA_bootstrap,
|
&ALSA_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_PIPEWIRE
|
|
||||||
&PIPEWIRE_bootstrap,
|
|
||||||
#endif
|
|
||||||
#if SDL_AUDIO_DRIVER_SNDIO
|
#if SDL_AUDIO_DRIVER_SNDIO
|
||||||
&SNDIO_bootstrap,
|
&SNDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
|
@ -107,6 +104,9 @@ 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_OS2
|
#if SDL_AUDIO_DRIVER_OS2
|
||||||
&OS2AUDIO_bootstrap,
|
&OS2AUDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue