summaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-11-26 00:39:32 -0800
committerChris Robinson <[email protected]>2009-11-26 00:39:32 -0800
commit69f9ab88b9b9ad1b14bd1a143af230eab2a15b61 (patch)
tree0efc56cabfca9eaf7453fdd510298268935a0c4e /OpenAL32
parent1a0676f0eb5f170e42333da38b1d4fb6170fe543 (diff)
Send multi-channel sources to auxiliary effect slots
They are downmixed to mono using a volume-preserving scalar, and passed through a 1-pole low-pass filter (not chained)
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 1e54031b..3889c85c 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -93,7 +93,7 @@ typedef struct ALsource
struct {
FILTER iirFilter;
- ALfloat history[2];
+ ALfloat history[OUTPUTCHANNELS];
} Send[MAX_SENDS];
FILTER iirFilter;