forked from len0rd/rockbox
Killed a dozen global variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
34fa62b300
commit
c3fd67c6c9
9 changed files with 27 additions and 22 deletions
|
@ -67,11 +67,13 @@ static int get_unswapped_space(void);
|
|||
#define MPEG_SAVE_DATA 102
|
||||
#define MPEG_STOP_DONE 103
|
||||
|
||||
enum
|
||||
#ifdef HAVE_MAS3587F
|
||||
static enum
|
||||
{
|
||||
MPEG_DECODER,
|
||||
MPEG_ENCODER
|
||||
} mpeg_mode;
|
||||
#endif
|
||||
|
||||
extern char* playlist_peek(int steps);
|
||||
extern int playlist_next(int steps);
|
||||
|
@ -457,9 +459,9 @@ extern unsigned char mp3buf[];
|
|||
extern unsigned char mp3end[];
|
||||
|
||||
static int mp3buflen;
|
||||
int mp3buf_write;
|
||||
static int mp3buf_write;
|
||||
static int mp3buf_swapwrite;
|
||||
int mp3buf_read;
|
||||
static int mp3buf_read;
|
||||
|
||||
static int last_dma_chunk_size;
|
||||
|
||||
|
@ -691,10 +693,12 @@ static void stop_dma(void)
|
|||
}
|
||||
|
||||
#ifdef HAVE_MAS3587F
|
||||
long timing_info_index = 0;
|
||||
long timing_info[1024];
|
||||
bool inverted_pr;
|
||||
unsigned long num_rec_bytes;
|
||||
#ifdef DEBUG
|
||||
static long timing_info_index = 0;
|
||||
static long timing_info[1024];
|
||||
#endif
|
||||
static bool inverted_pr;
|
||||
static unsigned long num_rec_bytes;
|
||||
|
||||
void drain_dma_buffer(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue