aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alstreamcb.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-04-01 19:30:28 -0700
committerChris Robinson <[email protected]>2022-04-01 19:31:22 -0700
commitf2f83aaabba5b5c5f6c2b1657ff102bcac3f11aa (patch)
tree5a3b9b229ef0e532c50326d22fc39fe0f6266b6c /examples/alstreamcb.cpp
parent33109e86c91961562ceb8cca4447dbecc85442cd (diff)
Finalize AL_SOFT_callback_buffer
Diffstat (limited to 'examples/alstreamcb.cpp')
-rw-r--r--examples/alstreamcb.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/examples/alstreamcb.cpp b/examples/alstreamcb.cpp
index d37fe118..e0dff4aa 100644
--- a/examples/alstreamcb.cpp
+++ b/examples/alstreamcb.cpp
@@ -45,17 +45,6 @@
#include "common/alhelpers.h"
-#ifndef AL_SOFT_callback_buffer
-#define AL_SOFT_callback_buffer
-#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);
-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);
-#endif
-
namespace {
using std::chrono::seconds;
@@ -352,7 +341,7 @@ int main(int argc, char **argv)
argv++; argc--;
AudioManager almgr{&argv, &argc};
- if(!alIsExtensionPresent("AL_SOFTX_callback_buffer"))
+ if(!alIsExtensionPresent("AL_SOFT_callback_buffer"))
{
fprintf(stderr, "AL_SOFT_callback_buffer extension not available\n");
return 1;