summaryrefslogtreecommitdiff
path: root/firmware/mpeg.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-10-15 07:23:18 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-10-15 07:23:18 +0000
commitbf303de4ddda21248a9b77a6d6b2e8bb4631cace (patch)
treeb47b013d685b8fb6c9f4386e7b56e6f08093d9f1 /firmware/mpeg.h
parentb4ec73daaaa1b9abf3585fd07be71ff3624b13f3 (diff)
downloadrockbox-bf303de4ddda21248a9b77a6d6b2e8bb4631cace.tar.gz
rockbox-bf303de4ddda21248a9b77a6d6b2e8bb4631cace.zip
More debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2632 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mpeg.h')
-rw-r--r--firmware/mpeg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/mpeg.h b/firmware/mpeg.h
index 97a1b36c1a..02c5e814a2 100644
--- a/firmware/mpeg.h
+++ b/firmware/mpeg.h
@@ -21,6 +21,13 @@
21 21
22#include <stdbool.h> 22#include <stdbool.h>
23 23
24#define MPEG_SWAP_CHUNKSIZE 0x2000
25#define MPEG_HIGH_WATER 2 /* We leave 2 bytes empty because otherwise we
26 wouldn't be able to see the difference between
27 an empty buffer and a full one. */
28#define MPEG_LOW_WATER 0x40000
29#define MPEG_LOW_WATER_CHUNKSIZE 0x40000
30
24struct mpeg_debug 31struct mpeg_debug
25{ 32{
26 int mp3buflen; 33 int mp3buflen;
@@ -39,6 +46,8 @@ struct mpeg_debug
39 46
40 int unplayed_space; 47 int unplayed_space;
41 int unswapped_space; 48 int unswapped_space;
49
50 int lowest_watermark_level;
42}; 51};
43 52
44void mpeg_init(int volume, int bass, int treble, int balance, 53void mpeg_init(int volume, int bass, int treble, int balance,