From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAgFi-0004g6-6p for qemu-devel@nongnu.org; Mon, 23 Jun 2008 03:14:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAgFg-0004fe-90 for qemu-devel@nongnu.org; Mon, 23 Jun 2008 03:14:13 -0400 Received: from [199.232.76.173] (port=50045 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAgFg-0004fb-33 for qemu-devel@nongnu.org; Mon, 23 Jun 2008 03:14:12 -0400 Received: from mx20.gnu.org ([199.232.41.8]:23609) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAgFf-00081w-4o for qemu-devel@nongnu.org; Mon, 23 Jun 2008 03:14:11 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAgFc-0001dw-IU for qemu-devel@nongnu.org; Mon, 23 Jun 2008 03:14:08 -0400 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 66974E51F5B2 for ; Mon, 23 Jun 2008 09:14:07 +0200 (CEST) Received: from [88.65.247.188] (helo=[192.168.1.198]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1KAgFb-00084I-00 for qemu-devel@nongnu.org; Mon, 23 Jun 2008 09:14:07 +0200 Message-ID: <485F4D3E.5060605@web.de> Date: Mon, 23 Jun 2008 09:14:06 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH make ALSA default on Linux Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 --- 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"