forked from len0rd/rockbox
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
This commit is contained in:
parent
3e60fb410d
commit
ca39b27dd4
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue