ソースを参照

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.
Frank Praznik 4 年 前
コミット
adc0a931dd
1 ファイル変更3 行追加3 行削除
  1. 3 3
      src/audio/SDL_audio.c

+ 3 - 3
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