All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH make ALSA default on Linux
@ 2008-06-23  7:14 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-06-23  7:14 UTC (permalink / raw)
  To: qemu-devel

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 <jan.kiszka@web.de>
---
 configure |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Index: b/configure
===================================================================
--- a/configure
+++ b/configure
@@ -195,7 +195,7 @@ SunOS)
     fi
 ;;
 *)
-oss="yes"
+alsa="yes"
 linux="yes"
 linux_user="yes"
 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" 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-23  7:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23  7:14 [Qemu-devel] [PATCH make ALSA default on Linux Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.