aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-09-23 17:44:02 -0700
committerChris Robinson <[email protected]>2010-09-23 17:44:02 -0700
commite9d5e53dbe46c3dda6f663bbfbc276b99545df17 (patch)
treee4fe6b64c45d8390e434e7ca5cea34c9a6e24181 /Alc/mixer.c
parente308694521401b6450fac59fd79953027b6dbf11 (diff)
Use ALfloat for the dry mix buffer
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 3b550ff6..ecb60aad 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -390,10 +390,10 @@ static __inline ALfloat cos_lerp16(ALfloat val1, ALfloat val2, ALint frac)
static void MixSource(ALsource *Source, ALCcontext *Context,
- float (*DryBuffer)[OUTPUTCHANNELS], ALuint SamplesToDo,
+ ALfloat (*DryBuffer)[OUTPUTCHANNELS], ALuint SamplesToDo,
ALfloat *ClickRemoval, ALfloat *PendingClicks)
{
- static float DummyBuffer[BUFFERSIZE];
+ static ALfloat DummyBuffer[BUFFERSIZE];
static ALfloat DummyClickRemoval[OUTPUTCHANNELS];
ALfloat *WetBuffer[MAX_SENDS];
ALfloat DrySend[OUTPUTCHANNELS];
@@ -581,7 +581,7 @@ static void MixSource(ALsource *Source, ALCcontext *Context,
ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
{
- float (*DryBuffer)[OUTPUTCHANNELS];
+ ALfloat (*DryBuffer)[OUTPUTCHANNELS];
ALfloat (*Matrix)[OUTPUTCHANNELS];
ALfloat *ClickRemoval;
const ALuint *ChanMap;