From 94e3fca7022c5c7f8147200ffdb3cda5ded62488 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 16 Sep 2009 00:24:44 -0700 Subject: Remove unnecessary parameters, and rename methods --- OpenAL32/Include/alMain.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 3205e467..a7fdb6ee 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -160,8 +160,8 @@ static __inline void al_print(const char *fname, unsigned int line, const char * typedef struct { ALCboolean (*OpenPlayback)(ALCdevice*, const ALCchar*); void (*ClosePlayback)(ALCdevice*); - ALCboolean (*StartContext)(ALCdevice*, ALCcontext*); - void (*StopContext)(ALCdevice*, ALCcontext*); + ALCboolean (*ResetPlayback)(ALCdevice*); + void (*StopPlayback)(ALCdevice*); ALCboolean (*OpenCapture)(ALCdevice*, const ALCchar*); void (*CloseCapture)(ALCdevice*); @@ -255,8 +255,8 @@ struct ALCdevice_struct #define ALCdevice_OpenPlayback(a,b) ((a)->Funcs->OpenPlayback((a), (b))) #define ALCdevice_ClosePlayback(a) ((a)->Funcs->ClosePlayback((a))) -#define ALCdevice_StartContext(a,b) ((a)->Funcs->StartContext((a), (b))) -#define ALCdevice_StopContext(a,b) ((a)->Funcs->StopContext((a), (b))) +#define ALCdevice_ResetPlayback(a) ((a)->Funcs->ResetPlayback((a))) +#define ALCdevice_StopPlayback(a) ((a)->Funcs->StopPlayback((a))) #define ALCdevice_OpenCapture(a,b) ((a)->Funcs->OpenCapture((a), (b))) #define ALCdevice_CloseCapture(a) ((a)->Funcs->CloseCapture((a))) #define ALCdevice_StartCapture(a) ((a)->Funcs->StartCapture((a))) -- cgit v1.2.3