aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-18 19:56:25 -0700
committerChris Robinson <[email protected]>2014-03-18 19:56:25 -0700
commitd6f7aac1bbc2c51dbe53e30a50275d550a020df6 (patch)
treeeff721968bc56422bca8e565c3842d1c1422bcc8 /OpenAL32/Include/alSource.h
parent71b177918d2e5864edf45088bf1e5f59d2cd8871 (diff)
Use a separate struct for tracking active sources
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 0432cb32..ecc62a37 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -29,6 +29,12 @@ typedef struct ALbufferlistitem {
struct ALbufferlistitem *prev;
} ALbufferlistitem;
+
+typedef struct ALactivesource {
+ struct ALsource *Source;
+} ALactivesource;
+
+
typedef struct HrtfState {
ALboolean Moving;
ALuint Counter;
@@ -78,8 +84,7 @@ typedef struct SendParams {
} SendParams;
-typedef struct ALsource
-{
+typedef struct ALsource {
/** Source properties. */
volatile ALfloat Pitch;
volatile ALfloat Gain;