From: Alfred Agrell floating@muncher.se
--- include/xact3.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/xact3.h b/include/xact3.h index 8de46d95468..d763901fe5d 100644 --- a/include/xact3.h +++ b/include/xact3.h @@ -496,7 +496,7 @@ DECLARE_INTERFACE(IXACT3Cue)
#if !defined(__cplusplus) || defined(CINTERFACE) /*** IXACT3Cue methods ***/ -#define IXACT3Cue_Play(p) (p)->lpVtbl->Destroy(p) +#define IXACT3Cue_Play(p) (p)->lpVtbl->Play(p) #define IXACT3Cue_Stop(p,a) (p)->lpVtbl->Stop(p,a) #define IXACT3Cue_GetState(p,a) (p)->lpVtbl->GetState(p,a) #define IXACT3Cue_Destroy(p) (p)->lpVtbl->Destroy(p) @@ -510,9 +510,9 @@ DECLARE_INTERFACE(IXACT3Cue) #define IXACT3Cue_SetOutputVoiceMatrix(p,a,b,c,d) (p)->lpVtbl->SetOutputVoiceMatrix(p,a,b,c,d) #else /*** IXACT3Cue methods ***/ -#define IXACT3Cue_Play(p) (p)->Destroy() +#define IXACT3Cue_Play(p) (p)->Play() #define IXACT3Cue_Stop(p,a) (p)->Stop(a) -#define IXACT3Cue_GetState(p,a) (p)->Stop(a) +#define IXACT3Cue_GetState(p,a) (p)->GetState(a) #define IXACT3Cue_Destroy(p) (p)->Destroy() #define IXACT3Cue_SetMatrixCoefficients(p,a,b,c) (p)->SetMatrixCoefficients(a,b,c) #define IXACT3Cue_GetVariableIndex(p,a) (p)->GetVariableIndex(a) @@ -546,7 +546,7 @@ DECLARE_INTERFACE(IXACT3Wave) #if !defined(__cplusplus) || defined(CINTERFACE) /*** IXACT3Wave methods ***/ #define IXACT3Wave_Destroy(p) (p)->lpVtbl->Destroy(p) -#define IXACT3Wave_Play(p) (p)->lpVtbl->Destroy(p) +#define IXACT3Wave_Play(p) (p)->lpVtbl->Play(p) #define IXACT3Wave_Stop(p,a) (p)->lpVtbl->Stop(p,a) #define IXACT3Wave_Pause(p,a) (p)->lpVtbl->Pause(p,a) #define IXACT3Wave_GetState(p,a) (p)->lpVtbl->GetState(p,a) @@ -557,11 +557,11 @@ DECLARE_INTERFACE(IXACT3Wave) #else /*** IXACT3Wave methods ***/ #define IXACT3Wave_Destroy(p) (p)->Destroy() -#define IXACT3Wave_Play(p) (p)->Destroy() +#define IXACT3Wave_Play(p) (p)->Play() #define IXACT3Wave_Stop(p,a) (p)->Stop(a) #define IXACT3Wave_Pause(p,a) (p)->Pause(a) -#define IXACT3Wave_GetState(p,a) (p)->Stop(a) -#define IXACT3Wave_SetPitch(p,a) (p)->SetVariable(a) +#define IXACT3Wave_GetState(p,a) (p)->GetState(a) +#define IXACT3Wave_SetPitch(p,a) (p)->SetPitch(a) #define IXACT3Wave_SetVolume(p,a) (p)->SetVolume(a) #define IXACT3Wave_SetMatrixCoefficients(p,a,b,c) (p)->SetMatrixCoefficients(a,b,c) #define IXACT3Wave_GetProperties(p,a) (p)->GetProperties(a) @@ -635,7 +635,7 @@ DECLARE_INTERFACE(IXACT3WaveBank) #if !defined(__cplusplus) || defined(CINTERFACE) /*** IXACT3WaveBank methods ***/ #define IXACT3WaveBank_Destroy(p) (p)->lpVtbl->Destroy(p) -#define IXACT3WaveBank_GetNumWaves(p,a) (p)->lpVtbl->GetNumCues(p,a) +#define IXACT3WaveBank_GetNumWaves(p,a) (p)->lpVtbl->GetNumWaves(p,a) #define IXACT3WaveBank_GetWaveIndex(p,a) (p)->lpVtbl->GetWaveIndex(p,a) #define IXACT3WaveBank_GetWaveProperties(p,a,b) (p)->lpVtbl->GetWaveProperties(p,a,b) #define IXACT3WaveBank_Prepare(p,a,b,c,d,e) (p)->lpVtbl->Prepare(p,a,b,c,d,e)