From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLEsz-0005M5-9b for qemu-devel@nongnu.org; Fri, 09 Jan 2009 05:46:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLEsx-0005KY-Mv for qemu-devel@nongnu.org; Fri, 09 Jan 2009 05:46:39 -0500 Received: from [199.232.76.173] (port=43347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLEsx-0005KR-GO for qemu-devel@nongnu.org; Fri, 09 Jan 2009 05:46:39 -0500 Received: from savannah.gnu.org ([199.232.41.3]:37670 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LLEsx-0004Lb-5X for qemu-devel@nongnu.org; Fri, 09 Jan 2009 05:46:39 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LLEst-0004Lc-Dt for qemu-devel@nongnu.org; Fri, 09 Jan 2009 10:46:35 +0000 Received: from malc by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LLEst-0004LY-0L for qemu-devel@nongnu.org; Fri, 09 Jan 2009 10:46:35 +0000 MIME-Version: 1.0 Errors-To: malc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: malc Message-Id: Date: Fri, 09 Jan 2009 10:46:35 +0000 Subject: [Qemu-devel] [6258] More flexible audio card selection 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 Revision: 6258 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6258 Author: malc Date: 2009-01-09 10:46:34 +0000 (Fri, 09 Jan 2009) Log Message: ----------- More flexible audio card selection Modified Paths: -------------- trunk/configure trunk/vl.c Modified: trunk/configure =================================================================== --- trunk/configure 2009-01-09 06:43:25 UTC (rev 6257) +++ trunk/configure 2009-01-09 10:46:34 UTC (rev 6258) @@ -27,7 +27,8 @@ cross_prefix="" cc="gcc" audio_drv_list="" -audio_card_list="" +audio_card_list="ac97 es1370 sb16" +audio_possible_cards="ac97 es1370 sb16 cs4231a adlib gus" host_cc="gcc" ar="ar" make="make" @@ -519,8 +520,8 @@ echo " --enable-cocoa enable COCOA (Mac OS X only)" echo " --audio-drv-list=LIST set audio drivers list:" echo " Available drivers: $audio_possible_drivers" -echo " --audio-card-list=LIST set list of additional emulated audio cards" -echo " Available cards: ac97 adlib cs4231a gus" +echo " --audio-card-list=LIST set list of emulated audio cards [$audio_card_list]" +echo " Available cards: $audio_possible_cards" echo " --enable-mixemu enable mixer emulation" echo " --disable-brlapi disable BrlAPI" echo " --disable-vnc-tls disable TLS encryption for VNC server" Modified: trunk/vl.c =================================================================== --- trunk/vl.c 2009-01-09 06:43:25 UTC (rev 6257) +++ trunk/vl.c 2009-01-09 10:46:34 UTC (rev 6258) @@ -4266,6 +4266,8 @@ { .init_isa = pcspk_audio_init } }, #endif + +#ifdef CONFIG_SB16 { "sb16", "Creative Sound Blaster 16", @@ -4273,6 +4275,7 @@ 1, { .init_isa = SB16_init } }, +#endif #ifdef CONFIG_CS4231A { @@ -4308,6 +4311,7 @@ }, #endif +#ifdef CONFIG_AC97 { "ac97", "Intel 82801AA AC97 Audio", @@ -4315,7 +4319,9 @@ 0, { .init_pci = ac97_init } }, +#endif +#ifdef CONFIG_ES1370 { "es1370", "ENSONIQ AudioPCI ES1370", @@ -4325,6 +4331,8 @@ }, #endif +#endif /* HAS_AUDIO_CHOICE */ + { NULL, NULL, 0, 0, { NULL } } };