diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-11-15 20:45:50 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-11-15 20:45:50 +0000 |
commit | ca39b27dd498145eed13d7fab991ca6dee9786be (patch) | |
tree | 9ba22ce986129c9d5a760396a01e02b0fc46d90d /apps | |
parent | 3e60fb410d4db6591c9e379e364c7061bd8db24d (diff) | |
download | rockbox-ca39b27dd498145eed13d7fab991ca6dee9786be.tar.gz rockbox-ca39b27dd498145eed13d7fab991ca6dee9786be.zip |
Partly revert r23625 (the TIMEOUT_NOBLOCK change), and add a comment explaining why (or trying to, at least).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23637 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/wps.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index cc6bd60ef5..9236f9f6ea 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -770,9 +770,12 @@ long gui_wps_show(void) | |||
770 | -> no additional screen updates needed */ | 770 | -> no additional screen updates needed */ |
771 | else | 771 | else |
772 | #endif | 772 | #endif |
773 | { | 773 | { /* 1 is the minimum timeout which lets other threads run. |
774 | * audio thread (apprently) needs to run before displaying the wps | ||
775 | * or bad things happen with regards to cuesheet | ||
776 | * (probably a race condition, on sh at least) */ | ||
774 | button = get_action(CONTEXT_WPS|ALLOW_SOFTLOCK, | 777 | button = get_action(CONTEXT_WPS|ALLOW_SOFTLOCK, |
775 | restore ? TIMEOUT_NOBLOCK : HZ/5); | 778 | restore ? 1 : HZ/5); |
776 | } | 779 | } |
777 | 780 | ||
778 | /* Exit if audio has stopped playing. This happens e.g. at end of | 781 | /* Exit if audio has stopped playing. This happens e.g. at end of |