From patchwork Tue Aug 25 21:48:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Consul X-Patchwork-Id: 32095 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 90770B7B65 for ; Wed, 26 Aug 2009 07:50:09 +1000 (EST) Received: from localhost ([127.0.0.1]:33679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mg3u1-0007E7-SX for incoming@patchwork.ozlabs.org; Tue, 25 Aug 2009 17:50:05 -0400 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 X-Injected-Via-Gmane: http://gmane.org/ To: qemu-devel@nongnu.org From: Consul Date: Tue, 25 Aug 2009 14:48:50 -0700 Lines: 34 Message-ID: Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 204.147.152.1 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [Qemu-devel] [PATCH] dsound typos X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@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) };