aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c5
1 files changed, 1 insertions, 4 deletions
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)
{