xactengine: Correct interfaces for IXACT3Cue.
This commit is contained in:
parent
fce615a2c3
commit
cd8c46f9e4
2 changed files with 4 additions and 2 deletions
|
@ -316,7 +316,7 @@ static HRESULT WINAPI IXACT3CueImpl_GetProperties(IXACT3Cue *iface,
|
|||
}
|
||||
#endif
|
||||
|
||||
#if XACT3_VER >= 0x0300
|
||||
#if XACT3_VER >= 0x0305
|
||||
static HRESULT WINAPI IXACT3CueImpl_SetOutputVoices(IXACT3Cue *iface,
|
||||
const XAUDIO2_VOICE_SENDS *pSendList)
|
||||
{
|
||||
|
@ -356,7 +356,7 @@ static const IXACT3CueVtbl XACT3Cue_Vtbl =
|
|||
#if XACT3_VER >= 0x0205
|
||||
IXACT3CueImpl_GetProperties,
|
||||
#endif
|
||||
#if XACT3_VER >= 0x0300
|
||||
#if XACT3_VER >= 0x0305
|
||||
IXACT3CueImpl_SetOutputVoices,
|
||||
IXACT3CueImpl_SetOutputVoiceMatrix
|
||||
#endif
|
||||
|
|
|
@ -487,8 +487,10 @@ DECLARE_INTERFACE(IXACT3Cue)
|
|||
STDMETHOD(GetVariable)(THIS_ XACTVARIABLEINDEX nIndex, XACTVARIABLEVALUE *nValue) PURE;
|
||||
STDMETHOD(Pause)(THIS_ BOOL fPause) PURE;
|
||||
STDMETHOD(GetProperties)(THIS_ LPXACT_CUE_INSTANCE_PROPERTIES *ppProperties) PURE;
|
||||
#if XACT3_VER >= 0x0305
|
||||
STDMETHOD(SetOutputVoices)(THIS_ const XAUDIO2_VOICE_SENDS *pSendList) PURE;
|
||||
STDMETHOD(SetOutputVoiceMatrix)(THIS_ IXAudio2Voice *pDestinationVoice, UINT32 SourceChannels, UINT32 DestinationChannels, const float *pLevelMatrix) PURE;
|
||||
#endif
|
||||
};
|
||||
#undef INTERFACE
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue