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) -> no additional screen updates needed */ else #endif - { + { /* 1 is the minimum timeout which lets other threads run. + * audio thread (apprently) needs to run before displaying the wps + * or bad things happen with regards to cuesheet + * (probably a race condition, on sh at least) */ button = get_action(CONTEXT_WPS|ALLOW_SOFTLOCK, - restore ? TIMEOUT_NOBLOCK : HZ/5); + restore ? 1 : HZ/5); } /* Exit if audio has stopped playing. This happens e.g. at end of |