playseq.h 996 Bytes
/*
 *  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