aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index 4ed120bb..62c3ffc2 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -77,8 +77,7 @@ static ALuint WaveProc(ALvoid *ptr)
} uSB;
uSB.s = 1;
- frameSize = aluBytesFromFormat(pDevice->Format) *
- aluChannelsFromFormat(pDevice->Format);
+ frameSize = aluFrameSizeFromFormat(pDevice->Format);
last = timeGetTime()<<8;
while(!data->killNow && pDevice->Connected)