From e824c808a0662361c9acdd9f97390d2412f21981 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 9 Mar 2021 05:52:40 -0800 Subject: Add a function/extension to reopen a playback device --- alc/inprogext.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'alc/inprogext.h') diff --git a/alc/inprogext.h b/alc/inprogext.h index ea27a531..bb16531a 100644 --- a/alc/inprogext.h +++ b/alc/inprogext.h @@ -66,6 +66,16 @@ AL_API void AL_APIENTRY alAuxiliaryEffectSlotStopvSOFT(ALsizei n, const ALuint * #endif #endif +#ifndef ALC_SOFT_reopen_device +#define ALC_SOFT_reopen_device +typedef ALCboolean (ALC_APIENTRY*LPALCREOPENDEVICESOFT)(ALCdevice *device, + const ALCchar *deviceName, const ALCint *attribs); +#ifdef AL_ALEXT_PROTOTYPES +ALCboolean ALC_APIENTRY alcReopenDeviceSOFT(ALCdevice *device, const ALCchar *deviceName, + const ALCint *attribs); +#endif +#endif + #ifdef __cplusplus } /* extern "C" */ #endif -- cgit v1.2.3