diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-05 21:46:17 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-05 21:46:17 +0000 |
commit | eac794de77ef7693110d8217195ca8801037d8cd (patch) | |
tree | c66830e6c7c019341bfe80a157c7f22f7da6b9af /apps | |
parent | e96fe7f256961aa3d19bdce733b82026e53e15b7 (diff) | |
download | rockbox-eac794de77ef7693110d8217195ca8801037d8cd.tar.gz rockbox-eac794de77ef7693110d8217195ca8801037d8cd.zip |
Types other than packet audio still need to yield while buffering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15489 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/buffering.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/buffering.c b/apps/buffering.c index 349dc9bbb9..da18cd5f4f 100644 --- a/apps/buffering.c +++ b/apps/buffering.c | |||
@@ -655,9 +655,11 @@ static bool buffer_handle(int handle_id) | |||
655 | h->available += rc; | 655 | h->available += rc; |
656 | h->filerem -= rc; | 656 | h->filerem -= rc; |
657 | 657 | ||
658 | yield(); | ||
659 | |||
658 | /* If this is a large file, see if we need to break or give the codec | 660 | /* If this is a large file, see if we need to break or give the codec |
659 | * more time */ | 661 | * more time */ |
660 | if (h->type==TYPE_PACKET_AUDIO && yield_codec()) | 662 | if (h->type == TYPE_PACKET_AUDIO && yield_codec()) |
661 | break; | 663 | break; |
662 | } | 664 | } |
663 | 665 | ||