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 8376fc11..7ee3b905 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -80,10 +80,7 @@ static ALuint OSSProc(ALvoid *ptr)
while(!data->killNow)
{
SuspendContext(NULL);
- if(pDevice->Context)
- aluMixData(pDevice->Context,data->mix_data,data->data_size,pDevice->Format);
- else
- memset(data->mix_data,data->silence,data->data_size);
+ aluMixData(pDevice->Context,data->mix_data,data->data_size,pDevice->Format);
ProcessContext(NULL);
remaining = data->data_size;