qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Consul <void@aleksoft.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] dsound typos
Date: Tue, 25 Aug 2009 14:48:50 -0700	[thread overview]
Message-ID: <h71m84$kik$1@ger.gmane.org> (raw)

Dsound currently does not compile due to the typos in the code. This patch makes it compile again.{PATCH}

Signed-off-by: Alex Ivanov <void@aleksoft.net>

$ 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)
  };

                 reply	other threads:[~2009-08-25 21:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h71m84$kik$1@ger.gmane.org' \
    --to=void@aleksoft.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).