qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Nowadays alsa and pulseaudio are most often the def


From: Sander Eikelenboom
Subject: [Qemu-devel] [PATCH] Nowadays alsa and pulseaudio are most often the default soundsystem. When the headerfiles are found, enable the build of the alsa and pulseaudio audio driver for the default targetos.
Date: Thu, 1 May 2014 12:56:04 +0200

Signed-off-by: Sander Eikelenboom <address@hidden>
---
 configure |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure b/configure
index 2fbec59..de87d38 100755
--- a/configure
+++ b/configure
@@ -637,6 +637,12 @@ Haiku)
 ;;
 *)
   audio_drv_list="oss"
+  if test -f /usr/include/sys/asoundlib.h ; then
+    audio_drv_list="$audio_drv_list alsa"
+  fi
+  if test -f /usr/include/pulse/pulseaudio.h ; then
+    audio_drv_list="$audio_drv_list pa"
+  fi
   audio_possible_drivers="oss alsa sdl esd pa"
   linux="yes"
   linux_user="yes"
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]