summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 038bf5d3..f3cd24f5 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -680,7 +680,6 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma
}
break;
case AL_FORMAT_STEREO16:
- default:
for(i = 0;i < SamplesToDo;i++)
{
((ALshort*)buffer)[0] = aluF2S(DryBuffer[i][0]+WetBuffer[i][0]);
@@ -710,6 +709,9 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma
buffer = ((ALshort*)buffer) + 6;
}
break;
+
+ default:
+ break;
}
size -= SamplesToDo;