diff options
author | Chris Robinson <[email protected]> | 2010-05-19 10:36:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-05-19 10:36:24 -0700 |
commit | ea3bc0518cd79fa2858eb4deb654153e87f4571d (patch) | |
tree | 42f8e9ab830025d0d68fe95e86f662b959d9d59a | |
parent | 2d46a1001e5ff81276666cb7eec292396710122d (diff) |
A couple formatting fixes
-rw-r--r-- | OpenAL32/alSource.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 078b5623..58b163bc 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1789,8 +1789,8 @@ static ALvoid GetSourceOffset(ALsource *Source, ALenum name, ALdouble *offset, A if((Source->state != AL_PLAYING && Source->state != AL_PAUSED) || !Buffer) { - offset[0] = 0.0f; - offset[1] = 0.0f; + offset[0] = 0.0; + offset[1] = 0.0; return; } @@ -1944,7 +1944,6 @@ static ALboolean ApplyOffset(ALsource *Source) } else if(lTotalBufferSize <= lByteOffset) { - // Offset is within this buffer // Set Current Buffer Source->Buffer = BufferList->buffer; |