r408 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Dec 3 11:36:45 EST 2005
Author: tma
Date: 2005-12-03 11:36:45 -0500 (Sat, 03 Dec 2005)
New Revision: 408
Modified:
trunk/code/client/snd_openal.c
Log:
* Same as last revision, but I didn't forget to save this time
Modified: trunk/code/client/snd_openal.c
===================================================================
--- trunk/code/client/snd_openal.c 2005-12-03 00:19:27 UTC (rev 407)
+++ trunk/code/client/snd_openal.c 2005-12-03 16:36:45 UTC (rev 408)
@@ -1135,19 +1135,19 @@
// Start the streamSource playing if necessary
qalGetSourcei( streamSource, AL_BUFFERS_QUEUED, &numBuffers );
- // If it's stopped, release the streamSource
qalGetSourcei(streamSource, AL_SOURCE_STATE, &state);
if(state == AL_STOPPED)
{
streamPlaying = qfalse;
- /*qalSourceStop(streamSource);*/
+
+ // If there are no buffers queued up, release the streamSource
if( !numBuffers )
S_AL_FreeStreamChannel( );
}
if( !streamPlaying && numBuffers )
{
- qalSourcePlay(streamSource);
+ qalSourcePlay( streamSource );
streamPlaying = qtrue;
}
}
More information about the quake3-commits
mailing list