diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-02-12 15:37:15 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-02-12 15:37:15 +0000 |
commit | 4be839e9e49775d43096de499bb552ad22259c05 (patch) | |
tree | 84043e91cc545765e04fdcb0746b948b2a2f3b1d | |
parent | da3368007f12ad109290b9dae868751c215e28a1 (diff) | |
download | rockbox-4be839e9e49775d43096de499bb552ad22259c05.tar.gz rockbox-4be839e9e49775d43096de499bb552ad22259c05.zip |
Patch from NicolasP (1429312) plus changes from me * Don't show old position after seeking * Don't show pause after seeking * Quicker seek complete
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8666 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/gwps-common.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index c918fddf5c..76ed7d8e35 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -2230,6 +2230,7 @@ bool ffwd_rew(int button) | |||
2230 | case WPS_RC_NEXT: | 2230 | case WPS_RC_NEXT: |
2231 | #endif | 2231 | #endif |
2232 | audio_ff_rewind(wps_state.id3->elapsed+ff_rewind_count); | 2232 | audio_ff_rewind(wps_state.id3->elapsed+ff_rewind_count); |
2233 | wps_state.id3->elapsed = wps_state.id3->elapsed+ff_rewind_count; | ||
2233 | ff_rewind_count = 0; | 2234 | ff_rewind_count = 0; |
2234 | wps_state.ff_rewind = false; | 2235 | wps_state.ff_rewind = false; |
2235 | status_set_ffmode(0); | 2236 | status_set_ffmode(0); |
@@ -2253,10 +2254,6 @@ bool ffwd_rew(int button) | |||
2253 | button = button_get(true); | 2254 | button = button_get(true); |
2254 | } | 2255 | } |
2255 | 2256 | ||
2256 | /* let audio thread update id3->elapsed before calling wps_refresh */ | ||
2257 | yield(); | ||
2258 | FOR_NB_SCREENS(i) | ||
2259 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL); | ||
2260 | return usb; | 2257 | return usb; |
2261 | } | 2258 | } |
2262 | 2259 | ||