summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/mpeg.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/firmware/export/mpeg.h b/firmware/export/mpeg.h
index 0a9d62cdf0..d9665a9531 100644
--- a/firmware/export/mpeg.h
+++ b/firmware/export/mpeg.h
@@ -21,22 +21,21 @@
21 21
22#include <stdbool.h> 22#include <stdbool.h>
23#include "id3.h" 23#include "id3.h"
24#include "events.h"
25 24
26#define MPEG_SWAP_CHUNKSIZE 0x2000 25#define MPEG_SWAP_CHUNKSIZE 0x2000
27#define MPEG_HIGH_WATER 2 /* We leave 2 bytes empty because otherwise we 26#define MPEG_HIGH_WATER 2 /* We leave 2 bytes empty because otherwise we
28 wouldn't be able to see the difference between 27 wouldn't be able to see the difference between
29 an empty buffer and a full one. */ 28 an empty buffer and a full one. */
30#define MPEG_LOW_WATER 0x60000 29#define MPEG_LOW_WATER 0x60000
31#define MPEG_RECORDING_LOW_WATER 0x80000 30#define MPEG_RECORDING_LOW_WATER 0x80000
32#define MPEG_LOW_WATER_CHUNKSIZE 0x40000 31#define MPEG_LOW_WATER_CHUNKSIZE 0x40000
33#define MPEG_LOW_WATER_SWAP_CHUNKSIZE 0x10000 32#define MPEG_LOW_WATER_SWAP_CHUNKSIZE 0x10000
34#ifdef HAVE_MMC 33#ifdef HAVE_MMC
35#define MPEG_PLAY_PENDING_THRESHOLD 0x20000 34#define MPEG_PLAY_PENDING_THRESHOLD 0x20000
36#define MPEG_PLAY_PENDING_SWAPSIZE 0x20000 35#define MPEG_PLAY_PENDING_SWAPSIZE 0x20000
37#else 36#else
38#define MPEG_PLAY_PENDING_THRESHOLD 0x10000 37#define MPEG_PLAY_PENDING_THRESHOLD 0x10000
39#define MPEG_PLAY_PENDING_SWAPSIZE 0x10000 38#define MPEG_PLAY_PENDING_SWAPSIZE 0x10000
40#endif 39#endif
41 40
42#define MPEG_MAX_PRERECORD_SECONDS 30 41#define MPEG_MAX_PRERECORD_SECONDS 30