diff options
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index e0e1b835..74f967ae 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -772,7 +772,7 @@ void AppendCaptureDeviceList(const ALCchar *name); void ALCdevice_Lock(ALCdevice *device); void ALCdevice_Unlock(ALCdevice *device); -void ALCcontext_DeferUpdates(ALCcontext *context); +void ALCcontext_DeferUpdates(ALCcontext *context, ALenum type); void ALCcontext_ProcessUpdates(ALCcontext *context); inline void LockContext(ALCcontext *context) @@ -781,6 +781,12 @@ inline void LockContext(ALCcontext *context) inline void UnlockContext(ALCcontext *context) { ALCdevice_Unlock(context->Device); } +enum { + DeferOff = AL_FALSE, + DeferAll, + DeferAllowPlay +}; + typedef struct { #ifdef HAVE_FENV_H |