diff options
author | Chris Robinson <[email protected]> | 2014-03-19 13:14:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-03-19 13:14:11 -0700 |
commit | 6ee54fb1f3e050c6f49e5fef379c9b9f80e4683d (patch) | |
tree | 6764b47fe9a76728b78bb22233b76e6583cd9aec /OpenAL32/alState.c | |
parent | d6f7aac1bbc2c51dbe53e30a50275d550a020df6 (diff) |
Store some source mixing parameters in the active source struct
Diffstat (limited to 'OpenAL32/alState.c')
-rw-r--r-- | OpenAL32/alState.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c index aebee3e7..f97168d6 100644 --- a/OpenAL32/alState.c +++ b/OpenAL32/alState.c @@ -733,7 +733,7 @@ AL_API ALvoid AL_APIENTRY alDeferUpdatesSOFT(void) { ALsource *source = (*src)->Source; - if(source->state != AL_PLAYING) + if(source->state != AL_PLAYING && source->state != AL_PAUSED) { ALactivesource *temp = *(--src_end); *src_end = *src; @@ -743,7 +743,7 @@ AL_API ALvoid AL_APIENTRY alDeferUpdatesSOFT(void) } if(ExchangeInt(&source->NeedsUpdate, AL_FALSE) || UpdateSources) - ALsource_Update(source, context); + (*src)->Update(*src, context); src++; } |