diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2008-02-24 19:12:15 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2008-02-24 19:12:15 +0000 |
commit | 87842ca0e70ec866964b19655da54497e98bd710 (patch) | |
tree | f43cd0f5e537a6f6bf28e77c6d838b9e31d7dc89 /apps/codecs/aiff.c | |
parent | 2279d95efecbdfa6118f390f6bbd3d6e28b7fc1a (diff) |
Change to (or add) 'standard' codec startup delay, fixing potential startup problems for APE and MPC files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16410 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/aiff.c')
-rw-r--r-- | apps/codecs/aiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/aiff.c b/apps/codecs/aiff.c index 93a7c39489..8b90f7fe9c 100644 --- a/apps/codecs/aiff.c +++ b/apps/codecs/aiff.c @@ -72,8 +72,8 @@ next_track: goto exit; } - while (!*ci->taginfo_ready) - ci->yield(); + while (!*ci->taginfo_ready && !ci->stop_codec) + ci->sleep(1); codec_set_replaygain(ci->id3); |