diff --git a/Changelog b/Changelog index aa8f2c5a2..b0b8796c1 100644 --- a/Changelog +++ b/Changelog @@ -8,6 +8,7 @@ If nothing is selected when the user presses play, the first song is selected an Double-clicking when out of focus now behaves as expected. Now has a simple dock menu courtesy of Nathanael Weldon . The playlist index now starts at 1. +Seekbar now updates the time field as you drag it, Simon Savary 0.04 ---- diff --git a/English.lproj/MainMenu.nib/keyedobjects.nib b/English.lproj/MainMenu.nib/keyedobjects.nib index af16ef9f1..55a62eb05 100644 Binary files a/English.lproj/MainMenu.nib/keyedobjects.nib and b/English.lproj/MainMenu.nib/keyedobjects.nib differ diff --git a/Sound.m b/Sound.m index e49f4090f..a98ea1024 100644 --- a/Sound.m +++ b/Sound.m @@ -28,7 +28,7 @@ //#define RING_BUFFER_SIZE 1048576 //#define BUFFER_WRITE_CHUNK 32768 -#define FEEDER_THREAD_IMPORTANCE 10 +#define FEEDER_THREAD_IMPORTANCE 6 //timeout should be smaller than the time itd take for the buffer to run dry...looks like were ironclad #define TIMEOUT 1 diff --git a/SoundController.m b/SoundController.m index 7ff66cfaf..c9dd95b58 100644 --- a/SoundController.m +++ b/SoundController.m @@ -131,7 +131,9 @@ // DBLog(@"SEEKING?"); double time; time = [positionSlider doubleValue]; - [self sendPortMessage:kCogSeekMessage withData:&time ofSize:(sizeof(double))]; + + if ([sender tracking] == NO) // check if user stopped sliding before playing audio + [self sendPortMessage:kCogSeekMessage withData:&time ofSize: (sizeof(double))]; [self updateTimeField:time]; } @@ -312,9 +314,8 @@ { // DBLog(@"Received pos update: %f", pos); [positionSlider setDoubleValue:pos]; + [self updateTimeField:pos]; } - - [self updateTimeField:pos]; } else if (message == kCogStatusUpdateMessage) { diff --git a/TODO b/TODO index 99269ca20..21a909d82 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,2 @@ Deep sort when dropping files into the playlist. -Plugins and such. -Improved GUI. \ No newline at end of file +Plugins and such. \ No newline at end of file