From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH make ALSA default on Linux
Date: Mon, 23 Jun 2008 09:14:06 +0200 [thread overview]
Message-ID: <485F4D3E.5060605@web.de> (raw)
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"
reply other threads:[~2008-06-23 7:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=485F4D3E.5060605@web.de \
--to=jan.kiszka@web.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.