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/ALu.c | |
parent | 86cced248be365c3e7597deeab53d6c25636bc54 (diff) |
Allow aluMixData to accept a NULL context for silence
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -414,7 +414,7 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma while(size > 0) { //Setup variables - ALSource = ALContext->Source; + ALSource = (ALContext ? ALContext->Source : NULL); SamplesToDo = min(size, BUFFERSIZE); //Clear mixing buffer |