Fixed bug that was causing play/pause button not to work with a lot of short tracks.

This commit is contained in:
vspader 2007-10-13 08:50:40 +00:00
parent acd71fd43b
commit fca5ddc8d0

View file

@ -172,15 +172,11 @@
- (void)launchOutputThread - (void)launchOutputThread
{ {
[self setPlaybackStatus:kCogStatusPlaying];
if (outputLaunched == NO) { if (outputLaunched == NO) {
[self setPlaybackStatus:kCogStatusPlaying];
[output launchThread]; [output launchThread];
outputLaunched = YES; outputLaunched = YES;
} }
else {
[self setShouldContinue:YES];
[output resume];
}
} }
- (void)requestNextStream:(id)userInfo - (void)requestNextStream:(id)userInfo