Maarten Lankhorst : mmdevapi: Fix exclusive test.

Alexandre Julliard julliard at winehq.org
Mon Feb 20 11:17:32 CST 2012


Module: wine
Branch: master
Commit: 14b765aca538a43b57a989b28acc1656928113c2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=14b765aca538a43b57a989b28acc1656928113c2

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Feb 19 13:18:28 2012 +0100

mmdevapi: Fix exclusive test.

---

 dlls/mmdevapi/tests/render.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mmdevapi/tests/render.c b/dlls/mmdevapi/tests/render.c
index e2b281e..127f558 100644
--- a/dlls/mmdevapi/tests/render.c
+++ b/dlls/mmdevapi/tests/render.c
@@ -878,6 +878,7 @@ static void test_clock(int share)
         period = defp;
     } else {
         pwfx->wFormatTag = WAVE_FORMAT_PCM;
+        pwfx->nChannels = 2;
         pwfx->cbSize = 0;
         pwfx->wBitsPerSample = 16; /* no floating point */
         pwfx->nBlockAlign = pwfx->nChannels * pwfx->wBitsPerSample / 8;




More information about the wine-cvs mailing list