diff options
author | Chris Robinson <[email protected]> | 2012-04-16 22:11:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-16 22:11:03 -0700 |
commit | e47557630eded79f5b15ec78f646542301ba705c (patch) | |
tree | 22b1db3d75dcba12ff9947243d60711a50ba4458 /OpenAL32/alState.c | |
parent | f6a1e53f191212112a5c31803c7018387d8aa715 (diff) |
Use a double to store the source offset and don't use milliseconds for seconds
Diffstat (limited to 'OpenAL32/alState.c')
-rw-r--r-- | OpenAL32/alState.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c index ec6ee827..d7393767 100644 --- a/OpenAL32/alState.c +++ b/OpenAL32/alState.c @@ -647,7 +647,7 @@ AL_API ALvoid AL_APIENTRY alProcessUpdatesSOFT(void) ALenum new_state; if((Source->state == AL_PLAYING || Source->state == AL_PAUSED) && - Source->lOffset != -1) + Source->Offset >= 0.0) ApplyOffset(Source); new_state = ExchangeInt(&Source->new_state, AL_NONE); |