aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-08-03 23:10:00 -0700
committerChris Robinson <[email protected]>2010-08-03 23:10:00 -0700
commite74976e6451670c433ee09695125801c12e74e22 (patch)
tree227434c3dd5e975ada8f4318bd0d05f953f40de8 /OpenAL32/Include/alSource.h
parent91278608c5d342a9c4322bd6296d0eba9eb3af4c (diff)
Use a callback to specify the source update method
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 0802cbaa..97ecbecf 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -101,10 +101,12 @@ typedef struct ALsource
FILTER iirFilter;
ALfloat history[OUTPUTCHANNELS*2];
} Params;
+ ALvoid (*Update)(struct ALsource *self, const ALCcontext *context);
// Index to itself
ALuint source;
} ALsource;
+#define ALsource_Update(s,a) ((s)->Update(s,a))
ALvoid ReleaseALSources(ALCcontext *Context);