Fixed bug that was causing play/pause button not to work with a lot of short tracks.
parent
acd71fd43b
commit
fca5ddc8d0
Audio
|
@ -172,15 +172,11 @@
|
|||
|
||||
- (void)launchOutputThread
|
||||
{
|
||||
[self setPlaybackStatus:kCogStatusPlaying];
|
||||
if (outputLaunched == NO) {
|
||||
[self setPlaybackStatus:kCogStatusPlaying];
|
||||
[output launchThread];
|
||||
outputLaunched = YES;
|
||||
}
|
||||
else {
|
||||
[self setShouldContinue:YES];
|
||||
[output resume];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)requestNextStream:(id)userInfo
|
||||
|
|
Loading…
Reference in New Issue