playseq.h
996 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
47
48
49
50
51
52
53
/*
* NINTENDO64 SAMPLE PROGRAM
*
* FILE : playseq.h (for 64DD)
*
* Copyright (C) 1998, NINTENDO Co,Ltd.
*/
#define STACKSIZE 0x8000
#define MAX_VOICES 24
#define OUTPUT_RATE 32000
#define EXTRA_SAMPLES 80
#define NUM_FIELDS 1
#define MAX_UPDATES 128
#define EVT_COUNT 128
#define AUDIO_HEAP_SIZE 400000
#define MAX_CLIST_SIZE 5000
#define MAX_AUDIO_LENGTH 4096
#define MAX_BUFFER_LENGTH 1024
#define DMA_QUEUE_SIZE 50
/*
* For LEO
*/
#define NUM_LEO_MESGS 8
#define MAX_WAVEBANK_LENGTH 20000
#define MAX_WAVETABLE_LENGTH 200000
#define MAX_SEQDATA_LENGTH 20000
#ifdef _LANGUAGE_C
/*
* Symbols generated by "makedisk"
*/
extern u8 _wavebankSegmentDiskStart[], _wavebankSegmentDiskEnd[];
extern u8 _wavetableSegmentDiskStart[], _wavetableSegmentDiskEnd[];
extern u8 _seqSegmentDiskStart[], _seqSegmentDiskEnd[];
/*
* Data area
*/
extern u8 waveBankFile[];
extern u8 waveTableFile[];
extern u8 seqData[];
#endif