aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-11-10 01:21:49 -0800
committerChris Robinson <[email protected]>2021-11-10 01:21:49 -0800
commitbbff1efa2a90dc98e5cfe6c4707d44af79abe6b7 (patch)
tree05d3b03a3380a60629c0912a231547db14965388 /examples
parent35348869a9deb989328ed206c70c14ac3418c2ef (diff)
Update some in-progress extension types
Diffstat (limited to 'examples')
-rw-r--r--examples/alffplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp
index 556b6909..768c30c8 100644
--- a/examples/alffplay.cpp
+++ b/examples/alffplay.cpp
@@ -80,8 +80,8 @@ extern "C" {
typedef unsigned int ALbitfieldSOFT;
#define AL_BUFFER_CALLBACK_FUNCTION_SOFT 0x19A0
#define AL_BUFFER_CALLBACK_USER_PARAM_SOFT 0x19A1
-typedef ALsizei (AL_APIENTRY*LPALBUFFERCALLBACKTYPESOFT)(ALvoid *userptr, ALvoid *sampledata, ALsizei numsamples);
-typedef void (AL_APIENTRY*LPALBUFFERCALLBACKSOFT)(ALuint buffer, ALenum format, ALsizei freq, LPALBUFFERCALLBACKTYPESOFT callback, ALvoid *userptr, ALbitfieldSOFT flags);
+typedef ALsizei (AL_APIENTRY*ALBUFFERCALLBACKTYPESOFT)(ALvoid *userptr, ALvoid *sampledata, ALsizei numbytes);
+typedef void (AL_APIENTRY*LPALBUFFERCALLBACKSOFT)(ALuint buffer, ALenum format, ALsizei freq, ALBUFFERCALLBACKTYPESOFT callback, ALvoid *userptr, ALbitfieldSOFT flags);
typedef void (AL_APIENTRY*LPALGETBUFFERPTRSOFT)(ALuint buffer, ALenum param, ALvoid **value);
typedef void (AL_APIENTRY*LPALGETBUFFER3PTRSOFT)(ALuint buffer, ALenum param, ALvoid **value1, ALvoid **value2, ALvoid **value3);
typedef void (AL_APIENTRY*LPALGETBUFFERPTRVSOFT)(ALuint buffer, ALenum param, ALvoid **values);