aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/portaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r--Alc/portaudio.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Alc/portaudio.c b/Alc/portaudio.c
index e9e15621..347306fe 100644
--- a/Alc/portaudio.c
+++ b/Alc/portaudio.c
@@ -61,10 +61,7 @@ static int pa_callback(const void *inputBuffer, void *outputBuffer,
(void)timeInfo;
(void)statusFlags;
- SuspendContext(NULL);
- aluMixData(device->Context, outputBuffer, framesPerBuffer, device->Format);
- ProcessContext(NULL);
-
+ aluMixData(device, outputBuffer, framesPerBuffer);
return 0;
}