aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-07-11 23:30:32 -0700
committerChris Robinson <[email protected]>2016-07-11 23:30:32 -0700
commit14166264d6fc59386d9cbbfcd12c78ffab5989fb (patch)
treed7ce96315f5ee61d921a8ef44ba572adf59e0cff /OpenAL32/Include/alSource.h
parente4039cb9ae488badd5575d7179b80130d5c5c740 (diff)
Store the voice output buffers separate from the params
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 4b047b80..2dd8229c 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -41,6 +41,16 @@ typedef struct ALvoice {
BsincState SincState;
+ struct {
+ ALfloat (*Buffer)[BUFFERSIZE];
+ ALuint Channels;
+ } DirectOut;
+
+ struct {
+ ALfloat (*Buffer)[BUFFERSIZE];
+ ALuint Channels;
+ } SendOut[MAX_SENDS];
+
DirectParams Direct;
SendParams Send[MAX_SENDS];
} ALvoice;