From 9f037e89802a7b4fc6c287bab97b85050bbd6721 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 15 Sep 2009 19:30:27 -0700 Subject: Pass the device to aluMixData --- Alc/wave.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Alc/wave.c') diff --git a/Alc/wave.c b/Alc/wave.c index bd6c408a..24b2faad 100644 --- a/Alc/wave.c +++ b/Alc/wave.c @@ -74,10 +74,7 @@ static ALuint WaveProc(ALvoid *ptr) while(avail >= pDevice->UpdateSize) { - SuspendContext(NULL); - aluMixData(pDevice->Context, data->buffer, pDevice->UpdateSize, - pDevice->Format); - ProcessContext(NULL); + aluMixData(pDevice, data->buffer, pDevice->UpdateSize); if(uSB.b[0] != 1 && aluBytesFromFormat(pDevice->Format) > 1) { -- cgit v1.2.3