Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DNSy7-0000I3-LW for qemu-devel@nongnu.org; Mon, 18 Apr 2005 05:55:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DNSy3-0000Gm-22 for qemu-devel@nongnu.org; Mon, 18 Apr 2005 05:55:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNSy1-0000Dx-Mr for qemu-devel@nongnu.org; Mon, 18 Apr 2005 05:54:58 -0400 Received: from [195.3.96.91] (helo=email.aon.at) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DNSzF-000781-P2 for qemu-devel@nongnu.org; Mon, 18 Apr 2005 05:56:14 -0400 Received: from m1105p001.adsl.highway.telekom.at (HELO s37.loc) ([80.121.10.1]) (envelope-sender ) by smarthub73.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 18 Apr 2005 09:54:39 -0000 Received: from cow by s37.loc with local (Exim 4.50) id 1DNSxk-0006Bl-SU for qemu-devel@nongnu.org; Mon, 18 Apr 2005 11:54:40 +0200 Date: Mon, 18 Apr 2005 11:54:40 +0200 From: Bernhard Fischer Message-ID: <20050418095440.GB23069@aon.at> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="kfjH4zxOES6UT95V" Content-Disposition: inline Subject: [Qemu-devel] [patch] fix compilation of sdlaudio debugging 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 --kfjH4zxOES6UT95V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline audio/sdlaudio.c (sdl_hw_fini, sdl_hw_init): audio_conf was renamed to audio_state. Change the debug prints accordingly. --kfjH4zxOES6UT95V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="qemu.sdlaudio-fix-debug.diff" diff -X excl -rduNp qemu.oorig/audio/sdlaudio.c qemu/audio/sdlaudio.c --- qemu.oorig/audio/sdlaudio.c 2004-11-14 19:59:52.000000000 +0100 +++ qemu/audio/sdlaudio.c 2005-04-18 11:43:08.942823072 +0200 @@ -217,7 +217,7 @@ static void sdl_callback (void *opaque, static void sdl_hw_fini (HWVoice *hw) { ldebug ("sdl_hw_fini %d fixed=%d\n", - glob_sdl.initialized, audio_conf.fixed_format); + glob_sdl.initialized, audio_state.fixed_format); sdl_close (&glob_sdl); } @@ -229,7 +229,7 @@ static int sdl_hw_init (HWVoice *hw, int int shift; ldebug ("sdl_hw_init %d freq=%d fixed=%d\n", - s->initialized, freq, audio_conf.fixed_format); + s->initialized, freq, audio_state.fixed_format); if (nchannels != 2) { dolog ("Bogus channel count %d\n", nchannels); --kfjH4zxOES6UT95V--