Author: janderwald Date: Tue Nov 3 23:30:36 2009 New Revision: 43942 URL: http://svn.reactos.org/svn/reactos?rev=43942&view=rev Log: - Fix checking of flags found by Ged - Remove unsupported DSBLOCK_FROMWRITECURSOR
Modified: trunk/reactos/dll/directx/dsound_new/capturebuffer.c trunk/reactos/dll/directx/dsound_new/secondary.c Modified: trunk/reactos/dll/directx/dsound_new/capturebuffer.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/dsound_new/capturebuffer.c?rev=43942&r1=43941&r2=43942&view=diff ============================================================================== --- trunk/reactos/dll/directx/dsound_new/capturebuffer.c [iso-8859-1] (original) +++ trunk/reactos/dll/directx/dsound_new/capturebuffer.c [iso-8859-1] Tue Nov 3 23:30:36 2009 @@ -298,11 +298,6 @@ return DS_OK; } - else if (dwFlags & DSBLOCK_FROMWRITECURSOR) - { - UNIMPLEMENTED - return DSERR_UNSUPPORTED; - } else { ASSERT(dwOffset < This->BufferSize); Modified: trunk/reactos/dll/directx/dsound_new/secondary.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/dsound_new/secondary.c?rev=43942&r1=43941&r2=43942&view=diff ============================================================================== --- trunk/reactos/dll/directx/dsound_new/secondary.c [iso-8859-1] (original) +++ trunk/reactos/dll/directx/dsound_new/secondary.c [iso-8859-1] Tue Nov 3 23:30:36 2009 @@ -255,7 +255,7 @@ return DS_OK; } - else if (dwFlags & DSBLOCK_FROMWRITECURSOR) + else if (dwFlags == DSBLOCK_FROMWRITECURSOR) { UNIMPLEMENTED return DSERR_UNSUPPORTED;