Updated use of events.h header file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17267 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b88059b969
commit
43414807da
3 changed files with 9 additions and 10 deletions
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include "id3.h"
|
||||
#include "mp3data.h"
|
||||
#include "events.h"
|
||||
|
||||
/* Not yet implemented. */
|
||||
#define CODEC_SET_AUDIOBUF_WATERMARK 4
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#include "misc.h"
|
||||
#include "filetypes.h"
|
||||
#include "audio.h"
|
||||
#include "events.h"
|
||||
|
||||
#define FILE_SEARCH_INSTRUCTIONS ROCKBOX_DIR "/tagnavi.config"
|
||||
|
||||
|
|
|
@ -21,22 +21,21 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include "id3.h"
|
||||
#include "events.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
|
||||
#define MPEG_LOW_WATER 0x60000
|
||||
#define MPEG_RECORDING_LOW_WATER 0x80000
|
||||
#define MPEG_LOW_WATER_CHUNKSIZE 0x40000
|
||||
#define MPEG_LOW_WATER_SWAP_CHUNKSIZE 0x10000
|
||||
#ifdef HAVE_MMC
|
||||
#define MPEG_PLAY_PENDING_THRESHOLD 0x20000
|
||||
#define MPEG_PLAY_PENDING_SWAPSIZE 0x20000
|
||||
#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
|
||||
#define MPEG_PLAY_PENDING_THRESHOLD 0x10000
|
||||
#define MPEG_PLAY_PENDING_SWAPSIZE 0x10000
|
||||
#endif
|
||||
|
||||
#define MPEG_MAX_PRERECORD_SECONDS 30
|
||||
|
|
Loading…
Reference in a new issue