Missing define and fixed wrong function
This commit is contained in:
parent
5aab408594
commit
91fff43ff4
|
@ -3203,8 +3203,8 @@ HRESULT WINAPI XTL::EMUPATCH(IDirectSoundBuffer_SetDopplerFactor)
|
|||
pThis, flDopplerFactor, dwApply);
|
||||
|
||||
HRESULT hRet = DS_OK;
|
||||
if (pThis != NULL && pThis->EmuDirectSound3DBuffer != NULL) {
|
||||
pThis->EmuDirectSound3DBuffer->SetConeOutsideVolume(flDopplerFactor, dwApply);
|
||||
if (pThis != NULL && pThis->EmuDirectSound3DListener != NULL) {
|
||||
pThis->EmuDirectSound3DListener->SetDopplerFactor(flDopplerFactor, dwApply);
|
||||
}
|
||||
|
||||
leaveCriticalSection;
|
||||
|
|
|
@ -51,6 +51,12 @@
|
|||
#define X_DSBPAUSE_PAUSE 0x00000001
|
||||
#define X_DSBPAUSE_SYNCHPLAYBACK 0x00000002
|
||||
|
||||
// EmuIDirectSoundBuffer_Pause flags
|
||||
#define X_DSSPAUSE_RESUME 0x00000000
|
||||
#define X_DSSPAUSE_PAUSE 0x00000001
|
||||
#define X_DSSPAUSE_SYNCHPLAYBACK 0x00000002
|
||||
#define X_DSSPAUSE_PAUSENOACTIVATE 0x00000003
|
||||
|
||||
|
||||
// ******************************************************************
|
||||
// * X_DSBUFFERDESC
|
||||
|
|
Loading…
Reference in New Issue