Support DSBPLAY_SYNCHPLAYBACK flag to SoundBuffer::Play()
This commit is contained in:
parent
d5834a5e3d
commit
e43e20129b
|
@ -1451,7 +1451,7 @@ HRESULT WINAPI XTL::EmuIDirectSoundBuffer8_Play
|
|||
");\n",
|
||||
GetCurrentThreadId(), pThis, dwReserved1, dwReserved2, dwFlags);
|
||||
|
||||
if(dwFlags & ~(X_DSBPLAY_LOOPING | X_DSBPLAY_FROMSTART))
|
||||
if(dwFlags & ~(X_DSBPLAY_LOOPING | X_DSBPLAY_FROMSTART | X_DSBPLAY_SYNCHPLAYBACK))
|
||||
CxbxKrnlCleanup("Unsupported Playing Flags");
|
||||
|
||||
// rewind buffer
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
// EmuIDirectSoundBuffer8_Play flags
|
||||
#define X_DSBPLAY_LOOPING 0x00000001
|
||||
#define X_DSBPLAY_FROMSTART 0x00000002
|
||||
#define X_DSBPLAY_SYNCHPLAYBACK 0x00000004
|
||||
|
||||
// EmuIDirectSoundBuffer8_Pause flags
|
||||
#define X_DSBPAUSE_RESUME 0x00000000
|
||||
|
|
Loading…
Reference in New Issue