Skip to contentSkip to conversation

audio: don't build alsa and sdl by default on linux

PATCH In review Gerd Hoffmann 3 participants 3 messages Feb 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 audio: don't build alsa and sdl by default on linux

In case no sound hardware is present both alsa and sdl drivers initialize successfully and throw errors later on, i.e. effectively the automatic probing doesn't work. Drop them from the list of default audio drivers for linux because of that.

Fixes 6a48541873 audio: probe audio drivers by default
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index fbd0825488..651b4f7514 100755
@@ -877,7 +877,7 @@ Haiku)
   LIBS="-lposix_error_mapper -lnetwork $LIBS"
 ;;
 Linux)
-  audio_drv_list="try-pa try-alsa try-sdl oss"
+  audio_drv_list="try-pa oss"
   audio_possible_drivers="oss alsa sdl pa"
   linux="yes"
   linux_user="yes"
Signature · 1 line
2.9.3
Reviewed-by on v2 1/1
#1 lore raw
Quoted 17 lines · Gerd Hoffmann

In case no sound hardware is present both alsa and sdl drivers initialize successfully and throw errors later on, i.e. effectively the automatic probing doesn't work. Drop them from the list of default audio drivers for linux because of that.

Fixes 6a48541873 audio: probe audio drivers by default
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index fbd0825488..651b4f7514 100755

configure Haiku) · line 883

Quoted 8 lines
configure +1 -1
@@ -877,7 +877,7 @@ Haiku)
   LIBS="-lposix_error_mapper -lnetwork $LIBS"
 ;;
 Linux)
-  audio_drv_list="try-pa try-alsa try-sdl oss"
+  audio_drv_list="try-pa oss"
   audio_possible_drivers="oss alsa sdl pa"
   linux="yes"
   linux_user="yes"

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
Tested-by on v2 1/1
#2 lore raw
In reply to Gerd Hoffmann
Quoted 18 lines · Gerd Hoffmann

In case no sound hardware is present both alsa and sdl drivers initialize successfully and throw errors later on, i.e. effectively the automatic probing doesn't work. Drop them from the list of default audio drivers for linux because of that.

Fixes 6a48541873 audio: probe audio drivers by default
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index fbd0825488..651b4f7514 100755

configure Haiku) · line 883

Quoted 8 lines
configure +1 -1
@@ -877,7 +877,7 @@ Haiku)
   LIBS="-lposix_error_mapper -lnetwork $LIBS"
 ;;
 Linux)
-  audio_drv_list="try-pa try-alsa try-sdl oss"
+  audio_drv_list="try-pa oss"
   audio_possible_drivers="oss alsa sdl pa"
   linux="yes"
   linux_user="yes"

It makes it work under my crazy environment again.

Signature · 3 lines
Thanks,

David / dhildenb