Cog Audio: Reduce glitching on track change by invoking a delegate method that occurs when the track finishes outputting without waiting for it

CQTexperiment
Christopher Snowhill 2022-01-14 11:16:35 -08:00
parent 3cc5b46a0e
commit 2e164d3fc8
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@
- (void)notifyStreamChanged:(id)userInfo
{
[self sendDelegateMethod:@selector(audioPlayer:didBeginStream:) withObject:userInfo waitUntilDone:YES];
[self sendDelegateMethod:@selector(audioPlayer:didBeginStream:) withObject:userInfo waitUntilDone:NO];
}
- (void)addChainToQueue:(BufferChain *)newChain