diff options
Diffstat (limited to 'firmware/mpeg.h')
-rw-r--r-- | firmware/mpeg.h | 9 |
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 | |||
24 | struct mpeg_debug | 31 | struct 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 | ||
44 | void mpeg_init(int volume, int bass, int treble, int balance, | 53 | void mpeg_init(int volume, int bass, int treble, int balance, |