From: Alfred Agrell floating@muncher.se
--- include/xact3.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/xact3.h b/include/xact3.h index 8de46d95468..18a7fed8c3f 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,10 +557,10 @@ 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_GetState(p,a) (p)->GetState(a) #define IXACT3Wave_SetPitch(p,a) (p)->SetVariable(a) #define IXACT3Wave_SetVolume(p,a) (p)->SetVolume(a) #define IXACT3Wave_SetMatrixCoefficients(p,a,b,c) (p)->SetMatrixCoefficients(a,b,c)