diff options
author | Chris Robinson <[email protected]> | 2009-09-15 19:30:27 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-15 19:30:27 -0700 |
commit | 9f037e89802a7b4fc6c287bab97b85050bbd6721 (patch) | |
tree | 8aafaa57a698d0fdcb799766d786cc44625e22ba /Alc/oss.c | |
parent | 12f81bcbb91f95df8bafdafa29f30adf55701203 (diff) |
Pass the device to aluMixData
Diffstat (limited to 'Alc/oss.c')
-rw-r--r-- | Alc/oss.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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); |