From ea3bc0518cd79fa2858eb4deb654153e87f4571d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 19 May 2010 10:36:24 -0700 Subject: A couple formatting fixes --- OpenAL32/alSource.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'OpenAL32') 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; -- cgit v1.2.3