From fca5ddc8d0cb189caa17c816a765ee5b0298d0a5 Mon Sep 17 00:00:00 2001 From: vspader Date: Sat, 13 Oct 2007 08:50:40 +0000 Subject: [PATCH] Fixed bug that was causing play/pause button not to work with a lot of short tracks. --- Audio/AudioPlayer.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Audio/AudioPlayer.m b/Audio/AudioPlayer.m index c9bebc147..0ebc150c6 100644 --- a/Audio/AudioPlayer.m +++ b/Audio/AudioPlayer.m @@ -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