qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] dsound typos
@ 2009-08-25 21:48 Consul
  0 siblings, 0 replies; only message in thread
From: Consul @ 2009-08-25 21:48 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-25 21:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 21:48 [Qemu-devel] [PATCH] dsound typos Consul

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).