aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-06-06 00:17:50 -0700
committerChris Robinson <[email protected]>2010-06-06 00:17:50 -0700
commit7f6df7695c9c8cd957339f85e57233f5d3308e49 (patch)
tree19d67ce16718276dceb3509c30d192c6dc518826 /OpenAL32/Include
parented585710790c35a2624586d9f387c261cf1bff48 (diff)
Use an array of active sources when mixing
Prevents iterating over all allocated sources during mixing updates
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index afc94da2..4d963563 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -433,6 +433,10 @@ struct ALCcontext_struct
ALfloat DopplerVelocity;
ALfloat flSpeedOfSound;
+ struct ALsource **ActiveSources;
+ ALsizei ActiveSourceCount;
+ ALsizei MaxActiveSources;
+
ALCdevice *Device;
const ALCchar *ExtensionList;