diff options
author | Chris Robinson <[email protected]> | 2023-08-18 15:59:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-08-18 15:59:04 -0700 |
commit | bfb79945d0ed7450ad3e93941f6576ce1cc4058b (patch) | |
tree | 1b81f5ca4e47e45541d0dc5be52325d63923845a /include/AL | |
parent | 9921b1357a5045216d3fe429089c8142fd6ebc13 (diff) |
Make ALC_SOFT_system_events public
Diffstat (limited to 'include/AL')
-rw-r--r-- | include/AL/alext.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/AL/alext.h b/include/AL/alext.h index 7ac09010..0e8a2d2f 100644 --- a/include/AL/alext.h +++ b/include/AL/alext.h @@ -713,6 +713,23 @@ void AL_APIENTRY alGetObjectLabelEXT(ALenum identifier, ALuint name, ALsizei buf #endif #endif +#ifndef ALC_SOFT_system_events +#define ALC_SOFT_system_events +#define ALC_PLAYBACK_DEVICE_SOFT 0x19D4 +#define ALC_CAPTURE_DEVICE_SOFT 0x19D5 +#define ALC_EVENT_TYPE_DEFAULT_DEVICE_CHANGED_SOFT 0x19D6 +#define ALC_EVENT_TYPE_DEVICE_ADDED_SOFT 0x19D7 +#define ALC_EVENT_TYPE_DEVICE_REMOVED_SOFT 0x19D8 +typedef void (ALC_APIENTRY*ALCEVENTPROCTYPESOFT)(ALCenum eventType, ALCenum deviceType, + ALCdevice *device, ALCsizei length, const ALCchar *message, void *userParam) ALC_API_NOEXCEPT17; +typedef ALCboolean (ALC_APIENTRY*LPALCEVENTCONTROLSOFT)(ALCsizei count, const ALCenum *events, ALCboolean enable) ALC_API_NOEXCEPT17; +typedef void (ALC_APIENTRY*LPALCEVENTCALLBACKSOFT)(ALCEVENTPROCTYPESOFT callback, void *userParam) ALC_API_NOEXCEPT17; +#ifdef AL_ALEXT_PROTOTYPES +ALCboolean ALC_APIENTRY alcEventControlSOFT(ALCsizei count, const ALCenum *events, ALCboolean enable) ALC_API_NOEXCEPT; +void ALC_APIENTRY alcEventCallbackSOFT(ALCEVENTPROCTYPESOFT callback, void *userParam) ALC_API_NOEXCEPT; +#endif +#endif + #ifdef __cplusplus } #endif |