Fixed play/pause button when pausing/seeking.

CQTexperiment
vspader 2007-06-03 17:04:23 +00:00
parent 3b79c53d0d
commit bf67dbb5d1
1 changed files with 1 additions and 3 deletions

View File

@ -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];