Some format fixes

This commit is contained in:
Thong Nguyen 2013-04-17 13:07:48 +01:00
parent bed5fe1f04
commit d52c012514
1 changed files with 3 additions and 3 deletions

View File

@ -1024,10 +1024,10 @@ static void AudioQueueIsRunningCallbackProc(void* userData, AudioQueueRef audioQ
}
}
if (self.internalState == AudioPlayerInternalStateRebuffering && numberOfBuffersUsed >= AudioPlayerBuffersNeededToStart) {
self.internalState =AudioPlayerInternalStatePlaying;
if (self.internalState == AudioPlayerInternalStateRebuffering && numberOfBuffersUsed >= AudioPlayerBuffersNeededToStart)
{
self.internalState = AudioPlayerInternalStatePlaying;
}
if (++fillBufferIndex >= audioQueueBufferCount)
{