From 9f037e89802a7b4fc6c287bab97b85050bbd6721 Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat@gmail.com>
Date: Tue, 15 Sep 2009 19:30:27 -0700
Subject: Pass the device to aluMixData

---
 Alc/oss.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'Alc/oss.c')

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);
-- 
cgit v1.2.3