diff options
author | Chris Robinson <[email protected]> | 2014-02-01 17:55:42 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-02-01 17:55:42 -0800 |
commit | 112b0f166f1dc661f94f76b733ddadf2e6ba21e2 (patch) | |
tree | dc855f8ae75bf54c9a7f2bb829579dbfac2b4d4c /OpenAL32 | |
parent | 69f3a7da6d80f98298ade5b940422efb3860c9a9 (diff) |
Add an alcGetInteger64vSOFT method and a way to get the device clock
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 63c996e5..934a4e0f 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -228,6 +228,17 @@ ALC_API void ALC_APIENTRY alcDeviceResumeSOFT(ALCdevice *device); #endif #endif +#ifndef ALC_SOFT_device_clock +#define ALC_SOFT_device_clock 1 +typedef int64_t ALCint64SOFT; +typedef uint64_t ALCuint64SOFT; +#define ALC_DEVICE_CLOCK_SOFT 0x1600 +typedef void (ALC_APIENTRY*LPALCGETINTEGER64VSOFT)(ALCdevice *device, ALCenum pname, ALsizei size, ALCint64SOFT *values); +#ifdef AL_ALEXT_PROTOTYPES +ALC_API void ALC_APIENTRY alcGetInteger64vSOFT(ALCdevice *device, ALCenum pname, ALsizei size, ALCint64SOFT *values); +#endif +#endif + #ifdef IN_IDE_PARSER /* KDevelop's parser doesn't recognize the C99-standard restrict keyword, but |