summaryrefslogtreecommitdiff
path: root/apps/mpeg.h
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2009-11-16 22:02:06 +0000
committerJeffrey Goode <jeffg7@gmail.com>2009-11-16 22:02:06 +0000
commita052102cfb861aae6c8e683ae01bbace9620235c (patch)
treecb54d8bf97099cc7ec1275ef8a27664a089dc831 /apps/mpeg.h
parentdb82be4390d294c8d460f50c06add41ffa6686f5 (diff)
downloadrockbox-a052102cfb861aae6c8e683ae01bbace9620235c.zip
rockbox-a052102cfb861aae6c8e683ae01bbace9620235c.tar.gz
rockbox-a052102cfb861aae6c8e683ae01bbace9620235c.tar.bz2
rockbox-a052102cfb861aae6c8e683ae01bbace9620235c.tar.xz
mpeg.h/c cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23652 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/mpeg.h')
-rw-r--r--apps/mpeg.h42
1 files changed, 2 insertions, 40 deletions
diff --git a/apps/mpeg.h b/apps/mpeg.h
index 3aaa990..106933d 100644
--- a/apps/mpeg.h
+++ b/apps/mpeg.h
@@ -21,46 +21,8 @@
#ifndef _MPEG_H_
#define _MPEG_H_
-#include <stdbool.h>
-#include "metadata.h"
-
-#define MPEG_SWAP_CHUNKSIZE 0x2000
-#define MPEG_HIGH_WATER 2 /* We leave 2 bytes empty because otherwise we
- wouldn't be able to see the difference between
- an empty buffer and a full one. */
-#define MPEG_LOW_WATER 0x60000
-#define MPEG_RECORDING_LOW_WATER 0x80000
-#define MPEG_LOW_WATER_CHUNKSIZE 0x40000
-#define MPEG_LOW_WATER_SWAP_CHUNKSIZE 0x10000
-#if (CONFIG_STORAGE & STORAGE_MMC)
-#define MPEG_PLAY_PENDING_THRESHOLD 0x20000
-#define MPEG_PLAY_PENDING_SWAPSIZE 0x20000
-#else
-#define MPEG_PLAY_PENDING_THRESHOLD 0x10000
-#define MPEG_PLAY_PENDING_SWAPSIZE 0x10000
-#endif
-
-#define MPEG_MAX_PRERECORD_SECONDS 30
-
-/* For ID3 info and VBR header */
-#define MPEG_RESERVED_HEADER_SPACE (4096 + 576)
-
-#if (CONFIG_CODEC == MAS3587F) || defined(SIMULATOR)
-
-#if CONFIG_TUNER & S1A0903X01
-int mpeg_get_mas_pllfreq(void);
-#endif
-
-#endif
+#if CONFIG_CODEC != SWCODEC
unsigned long mpeg_get_last_header(void);
-/* in order to keep the recording here, I have to expose this */
-void rec_tick(void);
-void playback_tick(void); /* FixMe: get rid of this, use mp3_get_playtime() */
-
-void audio_set_track_changed_event(void (*handler)(struct mp3entry *id3));
-void audio_set_track_buffer_event(void (*handler)(struct mp3entry *id3));
-void audio_set_track_unbuffer_event(void (*handler)(struct mp3entry *id3));
-void audio_set_cuesheet_callback(bool (*handler)(const char *filename));
-
+#endif
#endif