player_fifo.h
958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*********************************************************
player_fifo.h : Nintendo 64 Music Tools Programmers Library
(c) Copyright 1997/1998, Software Creations (Holdings) Ltd.
Version 3.14
Music library fifo functions (only use internally!).
**********************************************************/
#ifndef _PLAYER_FIFO_H_
#define _PLAYER_FIFO_H_
typedef struct
{
unsigned char command;
unsigned char padding1;
unsigned char padding2;
unsigned char padding3;
unsigned long data;
} fifo_t;
/* fifo size limits */
#define MIN_FIFO_COMMANDS (64)
#define MAX_FIFO_COMMANDS (1024)
/* fifo commands */
enum
{
FIFOCMD_PAUSE,
FIFOCMD_UNPAUSE,
FIFOCMD_CHANGEFX,
FIFOCMD_LAST
};
static void __MusIntFifoOpen(int commands);
static void __MusIntFifoProcess(void);
static void __MusIntFifoProcessCommand(fifo_t *command);
static int __MusIntFifoAddCommand(fifo_t *command);
#endif /* _PLAYER_FIFO_H_ */
/* end of file */