diff options
author | Chris Robinson <[email protected]> | 2007-12-05 00:29:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-05 00:29:20 -0800 |
commit | 15019b3871efa27782703ee216aa910927427801 (patch) | |
tree | dfa6c6e9fd677160b605fcf9ed91421ade76f41d /Alc/oss.c | |
parent | 86cced248be365c3e7597deeab53d6c25636bc54 (diff) |
Allow aluMixData to accept a NULL context for silence
Diffstat (limited to 'Alc/oss.c')
-rw-r--r-- | Alc/oss.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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; |