aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index c7f5421e..bfad2237 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -90,10 +90,7 @@ static ALuint OSSProc(ALvoid *ptr)
ALint len = data->data_size;
ALubyte *WritePtr = data->mix_data;
- SuspendContext(NULL);
- aluMixData(pDevice->Context, WritePtr, len/frameSize, pDevice->Format);
- ProcessContext(NULL);
-
+ aluMixData(pDevice, WritePtr, len/frameSize);
while(len > 0 && !data->killNow)
{
wrote = write(data->fd, WritePtr, len);