diff options
| author | Brandon Low <lostlogic@rockbox.org> | 2007-11-05 21:48:15 +0000 |
|---|---|---|
| committer | Brandon Low <lostlogic@rockbox.org> | 2007-11-05 21:48:15 +0000 |
| commit | 7ca056dc1310fb7eb64472b5b603ee678f66d2cc (patch) | |
| tree | 5c0d23bd5109f9030f96cef0ebf74cab038c1519 /apps/buffering.c | |
| parent | eac794de77ef7693110d8217195ca8801037d8cd (diff) | |
| download | rockbox-7ca056dc1310fb7eb64472b5b603ee678f66d2cc.zip rockbox-7ca056dc1310fb7eb64472b5b603ee678f66d2cc.tar.gz rockbox-7ca056dc1310fb7eb64472b5b603ee678f66d2cc.tar.bz2 rockbox-7ca056dc1310fb7eb64472b5b603ee678f66d2cc.tar.xz | |
Don't yield twice in a row
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15490 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.c')
| -rw-r--r-- | apps/buffering.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/buffering.c b/apps/buffering.c index da18cd5..3f6809a 100644 --- a/apps/buffering.c +++ b/apps/buffering.c @@ -60,7 +60,8 @@ #endif /* Define LOGF_ENABLE to enable logf output in this file */ -/*#define LOGF_ENABLE*/ +#define LOGF_ENABLE +#define BUFFERING_LOGQUEUES #include "logf.h" /* macros to enable logf for queues @@ -556,8 +557,6 @@ static inline bool buffer_is_low(void) new queue events */ static bool yield_codec(void) { - yield(); - if (!queue_empty(&buffering_queue)) return true; |