[Top][All Lists]

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

[Qemu-devel] [PATCH make ALSA default on Linux

From: Jan Kiszka
Subject: [Qemu-devel] [PATCH make ALSA default on Linux
Date: Mon, 23 Jun 2008 09:14:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv: Gecko/20080226 SUSE/ Thunderbird/ Mnenhy/

OSS is legacy on Linux, ALSA support of QEMU improved recently so that
it should work out-of-the-box. Let's make the native sound system of
Linux also QEMU's default on that platform. OSS can still be selected
and ALSA can be disabled when preferred.

Reasoning: Distros are expected to rather take care of ALSA issues than
OSS ones these days. E.g. on my SUSE 10.3, ALSA provides shared DSP
access while OSS does not.

Signed-off-by: Jan Kiszka <address@hidden>
 configure |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Index: b/configure
--- a/configure
+++ b/configure
@@ -195,7 +195,7 @@ SunOS)
 if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
@@ -268,6 +268,10 @@ for opt do
   --enable-alsa) alsa="yes"
+  --disable-alsa) alsa="no"
+  ;;
+  --enable-oss) oss="yes"
+  ;;
   --enable-esd) esd="yes"
   --enable-dsound) dsound="yes"
@@ -428,9 +432,11 @@ echo "  --enable-gus             enable 
 echo "  --enable-cs4231a         enable CS4231A emulation"
 echo "  --enable-coreaudio       enable Coreaudio audio driver"
 echo "  --enable-alsa            enable ALSA audio driver"
+echo "  --disable-alsa           disable ALSA audio driver"
 echo "  --enable-esd             enable EsoundD audio driver"
 echo "  --enable-fmod            enable FMOD audio driver"
 echo "  --enable-dsound          enable DirectSound audio driver"
+echo "  --enable-oss             enable OSS audio driver"
 echo "  --disable-mixemu         disable mixer emulation"
 echo "  --disable-brlapi         disable BrlAPI"
 echo "  --disable-vnc-tls        disable TLS encryption for VNC server" 

reply via email to

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