Fixed bug that was causing play/pause button not to work with a lot of short tracks.
This commit is contained in:
parent
acd71fd43b
commit
fca5ddc8d0
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue