From ab33367c0adaa212b1214ae3bf83754c82a1993d Mon Sep 17 00:00:00 2001 From: Alex Menkov Date: Fri, 6 Nov 2009 19:48:56 +0300 Subject: [PATCH] 6887318: Incorrect constant used in DirectSound Mixer implementation Reviewed-by: uta --- .../com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp b/jdk/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp index b60ff058641..12e3f688a95 100644 --- a/jdk/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp +++ b/jdk/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp @@ -485,7 +485,7 @@ DWORD WINAPI __stdcall DS_StartBufferHelper::ThreadProc(void *param) } 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);