changeset 1989:fe03ca4901a4

6887318: Incorrect constant used in DirectSound Mixer implementation Reviewed-by: uta
author amenkov
date Fri, 06 Nov 2009 19:48:56 +0300
parents 965ffc33d9a2
children 1d7b87d34cf8
files src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp	Fri Nov 06 19:47:32 2009 +0300
+++ b/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);