6887318: Incorrect constant used in DirectSound Mixer implementation
Reviewed-by: uta
--- 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);