#define MAIN_VOL (127) #define SEQ_VOL (127) #define SNDFX_VH 0x800AC4B4 #define SNDFX_VB 0x800AD4D4 #define MUSIC_SEQ 0x80000000 typedef struct voice_tag { short vabid; short program; short tone; short note; short fine; short vol_l; short vol_r; }voice_data, *voice_ptr; short vab_id; short seq_id; void InitSound(); void StopSound(); void InitSFX( voice_ptr sound_effect, short vab_id, short program, short tone, short note, short fine, short vol_l, short vol_r ); void PlaySFX( voice_ptr sound_effect ); void PlayMusic(); void PauseMusic(); void ReplayMusic(); void SetupReverb();