Fixed play/pause button when pausing/seeking.
parent
3b79c53d0d
commit
bf67dbb5d1
|
@ -98,8 +98,6 @@
|
||||||
outputLaunched = NO;
|
outputLaunched = NO;
|
||||||
NSLog(@"Launching input thread!");
|
NSLog(@"Launching input thread!");
|
||||||
[bufferChain launchThreads];
|
[bufferChain launchThreads];
|
||||||
|
|
||||||
[self setPlaybackStatus:kCogStatusPlaying];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)stop
|
- (void)stop
|
||||||
|
@ -129,7 +127,6 @@
|
||||||
/*HACK TO TEST HOW WELL THIS WOULD WORK*/
|
/*HACK TO TEST HOW WELL THIS WOULD WORK*/
|
||||||
[output seek:time];
|
[output seek:time];
|
||||||
[bufferChain seek:time];
|
[bufferChain seek:time];
|
||||||
|
|
||||||
/*END HACK*/
|
/*END HACK*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,6 +166,7 @@
|
||||||
|
|
||||||
- (void)launchOutputThread
|
- (void)launchOutputThread
|
||||||
{
|
{
|
||||||
|
[self setPlaybackStatus:kCogStatusPlaying];
|
||||||
if (outputLaunched == NO) {
|
if (outputLaunched == NO) {
|
||||||
NSLog(@"Launching output thread!");
|
NSLog(@"Launching output thread!");
|
||||||
[output launchThread];
|
[output launchThread];
|
||||||
|
|
Loading…
Reference in New Issue