6887318: Incorrect constant used in DirectSound Mixer implementation
authoramenkov
Fri, 06 Nov 2009 19:48:56 +0300
changeset 4384 4f4dae717b45
parent 4383 0ca32411c666
child 4385 cf4674d08b51
6887318: Incorrect constant used in DirectSound Mixer implementation Reviewed-by: uta
jdk/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp
--- a/jdk/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp	Fri Nov 06 19:47:32 2009 +0300
+++ b/jdk/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp	Fri Nov 06 19:48:56 2009 +0300
@@ -485,7 +485,7 @@
         }
         if (data.line2Start->isSource) {
             data.startResult =
-                data.line2Start->playBuffer->Play(0, 0, DSCBSTART_LOOPING);
+                data.line2Start->playBuffer->Play(0, 0, DSBPLAY_LOOPING);
         } else {
             data.startResult =
                 data.line2Start->captureBuffer->Start(DSCBSTART_LOOPING);