From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mg3tK-00076h-H9 for qemu-devel@nongnu.org; Tue, 25 Aug 2009 17:49:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mg3tG-00075Q-61 for qemu-devel@nongnu.org; Tue, 25 Aug 2009 17:49:22 -0400 Received: from [199.232.76.173] (port=49506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mg3tF-00075N-Ty for qemu-devel@nongnu.org; Tue, 25 Aug 2009 17:49:18 -0400 Received: from lo.gmane.org ([80.91.229.12]:53001) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mg3tF-0007JS-Ar for qemu-devel@nongnu.org; Tue, 25 Aug 2009 17:49:17 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mg3tC-0003UZ-NX for qemu-devel@nongnu.org; Tue, 25 Aug 2009 23:49:14 +0200 Received: from 204.147.152.1 ([204.147.152.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Aug 2009 23:49:14 +0200 Received: from void by 204.147.152.1 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Aug 2009 23:49:14 +0200 From: Consul Date: Tue, 25 Aug 2009 14:48:50 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: news Subject: [Qemu-devel] [PATCH] dsound typos List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Dsound currently does not compile due to the typos in the code. This patch makes it compile again.{PATCH} Signed-off-by: Alex Ivanov $ git diff diff --git a/audio/dsoundaudio.c b/audio/dsoundaudio.c index 5376b59..f89f39a 100644 --- a/audio/dsoundaudio.c +++ b/audio/dsoundaudio.c @@ -57,7 +57,7 @@ static struct { .bufsize_out = 16384, .settings.freq = 44100, .settings.nchannels = 2, - .settings.fmt = AUD_FMT_S16 + .settings.fmt = AUD_FMT_S16, .latency_millis = 10 }; @@ -1054,7 +1054,7 @@ static struct audio_option dsound_options[] = { { .name = "SET_PRIMARY", .tag = AUD_OPT_BOOL, - .valp = &conf.set_primary + .valp = &conf.set_primary, .descr = "Set the parameters of primary buffer" }, { @@ -1121,5 +1121,5 @@ struct audio_driver dsound_audio_driver = { .max_voices_out = INT_MAX, .max_voices_in = 1, .voice_size_out = sizeof (DSoundVoiceOut), - .oice_size_in = sizeof (DSoundVoiceIn) + .voice_size_in = sizeof (DSoundVoiceIn) };