Fixed next file won't start playing if queued on just before current one finishes
This commit is contained in:
parent
ca7abd75c1
commit
b7f87aea98
|
|
@ -1792,14 +1792,7 @@ static void AudioQueueIsRunningCallbackProc(void* userData, AudioQueueRef audioQ
|
|||
next = [bufferingQueue peek];
|
||||
}
|
||||
|
||||
if (next && next->audioStreamBasicDescription.mSampleRate == 0)
|
||||
{
|
||||
next = nil;
|
||||
}
|
||||
else
|
||||
{
|
||||
next = [bufferingQueue dequeue];
|
||||
}
|
||||
next = [bufferingQueue dequeue];
|
||||
|
||||
[self processFinishPlayingIfAnyAndPlayingNext:entry withNext:next];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue