Interface default creation to InitVoiceProperties function.

This commit is contained in:
RadWolfie 2019-07-01 21:23:57 -05:00 committed by PatrickvL
parent 73d40777f6
commit 5ebcd73d9c
1 changed files with 2 additions and 1 deletions

View File

@ -579,7 +579,8 @@ inline void DSound3DBufferCreate(LPDIRECTSOUNDBUFFER8 pDSBuffer, LPDIRECTSOUND3D
pThis->Xb_Volume = 0L; \
pThis->Xb_VolumeMixbin = 0L; \
pThis->Xb_dwHeadroom = 600; /* default for 2D voice */ \
pThis->Xb_EnvolopeDesc = { 0 };
pThis->Xb_EnvolopeDesc = { 0 }; \
InitVoiceProperties(pThis->Xb_VoiceProperties); /* The rest will initialize in GeneratePCMFormat to GenerateMixBinDefault. */
//pThis->EmuBufferDesc = { 0 }; // Enable this when become necessary.
/*
pThis->EmuLockPtr1 = xbnullptr; \