Go to the source code of this file.
Macros | |
| #define | SEC(x) ((s32)(x * 1000000) / AU_5750 * AU_5750) |
| #define | NEXT_CMD trackCount--; if (trackCount <= 0 ) { break; } cmdList += 2; |
Enumerations | |
| enum | SoundEffectParamFlags { SFX_PARAM_MODE_ADVANCED = 0x00000000 , SFX_PARAM_MODE_SEQUENCE = 0x00000001 , SFX_PARAM_MODE_BASIC = 0x00000002 , SFX_PARAM_FLAG_MODE = 0x00000003 , SFX_PARAM_FLAG_VOLUME = 0x00000004 , SFX_PARAM_FLAG_PAN = 0x00000008 , SFX_PARAM_FLAG_PITCH = 0x00000010 , SFX_PARAM_FLAG_FIXED_REVERB = 0x00000020 } |
Functions | |
| void | au_sfx_init (SoundManager *manager, u8 priority, u8 busId, AuGlobals *globals, u8 minVoiceIdx) |
| void | au_sfx_load_groups_from_SEF (SoundManager *manager) |
| void | au_sfx_clear_queue (SoundManager *manager) |
| void | au_sfx_enqueue_event (SoundManager *manager, u32 soundID, s16 volume, s16 pitchShift, u8 pan) |
| void | au_sfx_update_main (SoundManager *manager) |
| s32 | au_sfx_set_reverb_type (SoundManager *manager, s32 arg1) |
| void | au_sfx_set_state (SoundManager *manager, s32 state) |
| void | au_sfx_load_sound (SoundManager *manager, SoundSFXEntry *entry, SoundManagerCustomCmdList *customSEF) |
| s16 | au_sfx_manager_update (SoundManager *manager) |
Variables | |
| u16 | DummyInstrumentPredictor [32] |
| u8 | DummyInstrumentBase [190] |
| s32 | CUSTOM_SMALL_ROOM_PARAMS [] |
| s32 | CUSTOM_ECHO_PARAMS_1 [] |
| s32 | CUSTOM_ECHO_PARAMS_2 [] |
| s32 | CUSTOM_ECHO_PARAMS_3 [] |
| AlUnkGemini | D_80078370 [] |
| EnvelopePreset | SFXEnvelopeFast |
| u8 | SFXEnvelopeFastData [] |
| EnvelopePreset | SFXEnvelopeSlow |
| u8 | SFXEnvelopeSlowData [] |
| s32 | D_800783B0 [] |
| EnvelopePreset * | SFXEnvelopePresets [] |
| void(* | SefCmdHandlers [])(SoundManager *, SoundPlayer *) |
| u8 | BlankSEFData [] |
| void(* | SeqCmdHandlers [])(BGMPlayer *, BGMPlayerTrack *) |
| s8 | SeqCmdArgCounts [] |
| s8 | BgmDivisors [] |
| u8 | BlankMseqData [] |
| s16 | D_80078530 [] |
| EnvelopePreset | DummyInstrumentEnvelope |
| u8 | EnvelopePressDefault [] |
| u8 | EnvelopeReleaseDefault [] |
| u8 | EnvelopeReleaseDefaultFast [] |
| s8 | D_80078558 [] |
| u8 | AmbientSoundIDtoMSEQFileIndex [] |
| s32 | AuEnvelopeIntervals [] |
| f32 | AlTuneScaling [] |
| s32 * | AU_FX_CUSTOM_PARAMS [0] |
| void(* | CurrentSefCmdHandler )(SoundManager *, SoundPlayer *) |
Definition at line 339 of file sfx_player.c.
| #define NEXT_CMD trackCount--; if (trackCount <= 0 ) { break; } cmdList += 2; |
| Enumerator | |
|---|---|
| SFX_PARAM_MODE_ADVANCED | |
| SFX_PARAM_MODE_SEQUENCE | |
| SFX_PARAM_MODE_BASIC | |
| SFX_PARAM_FLAG_MODE | |
| SFX_PARAM_FLAG_VOLUME | |
| SFX_PARAM_FLAG_PAN | |
| SFX_PARAM_FLAG_PITCH | |
| SFX_PARAM_FLAG_FIXED_REVERB | |
Definition at line 45 of file sfx_player.c.
| void au_sfx_init | ( | SoundManager * | manager, |
| u8 | priority, | ||
| u8 | busId, | ||
| AuGlobals * | globals, | ||
| u8 | minVoiceIdx ) |
Definition at line 423 of file sfx_player.c.
Referenced by au_engine_init().
| void au_sfx_load_groups_from_SEF | ( | SoundManager * | manager | ) |
Definition at line 506 of file sfx_player.c.
Referenced by au_engine_init().
| void au_sfx_clear_queue | ( | SoundManager * | manager | ) |
Definition at line 526 of file sfx_player.c.
Referenced by au_sfx_init().
| void au_sfx_enqueue_event | ( | SoundManager * | manager, |
| u32 | soundID, | ||
| s16 | volume, | ||
| s16 | pitchShift, | ||
| u8 | pan ) |
Definition at line 543 of file sfx_player.c.
Referenced by snd_adjust_sound(), snd_adjust_sound_with_shift(), snd_start_sound(), snd_start_sound_raw(), snd_start_sound_with_shift(), and snd_stop_sound().
| void au_sfx_update_main | ( | SoundManager * | manager | ) |
Definition at line 569 of file sfx_player.c.
Referenced by au_update_players_main().
| s32 au_sfx_set_reverb_type | ( | SoundManager * | manager, |
| s32 | arg1 ) |
Definition at line 664 of file sfx_player.c.
Referenced by au_sfx_init(), and func_80054D74().
| void au_sfx_set_state | ( | SoundManager * | manager, |
| s32 | state ) |
Definition at line 684 of file sfx_player.c.
Referenced by au_sfx_init(), disable_sounds(), and enable_sounds().
| void au_sfx_load_sound | ( | SoundManager * | manager, |
| SoundSFXEntry * | entry, | ||
| SoundManagerCustomCmdList * | customSEF ) |
Definition at line 692 of file sfx_player.c.
Referenced by au_sfx_update_main().
| s16 au_sfx_manager_update | ( | SoundManager * | manager | ) |
Definition at line 1080 of file sfx_player.c.
Referenced by au_update_clients_2().
| u16 DummyInstrumentPredictor[32] |
Definition at line 61 of file sfx_player.c.
Referenced by au_reset_instrument().
| u8 DummyInstrumentBase[190] |
Definition at line 68 of file sfx_player.c.
Referenced by au_reset_instrument().
| s32 CUSTOM_SMALL_ROOM_PARAMS[] |
Definition at line 84 of file sfx_player.c.
Referenced by au_sfx_init().
| s32 CUSTOM_ECHO_PARAMS_1[] |
Definition at line 95 of file sfx_player.c.
Referenced by au_sfx_init().
| s32 CUSTOM_ECHO_PARAMS_2[] |
Definition at line 104 of file sfx_player.c.
Referenced by au_sfx_init().
| s32 CUSTOM_ECHO_PARAMS_3[] |
Definition at line 113 of file sfx_player.c.
Referenced by au_sfx_init().
| AlUnkGemini D_80078370[] |
Definition at line 121 of file sfx_player.c.
Referenced by au_sfx_update_main().
| EnvelopePreset SFXEnvelopeFast |
Definition at line 130 of file sfx_player.c.
| u8 SFXEnvelopeFastData[] |
Definition at line 135 of file sfx_player.c.
| EnvelopePreset SFXEnvelopeSlow |
Definition at line 147 of file sfx_player.c.
| u8 SFXEnvelopeSlowData[] |
Definition at line 152 of file sfx_player.c.
| s32 D_800783B0[] |
Definition at line 169 of file sfx_player.c.
| EnvelopePreset* SFXEnvelopePresets[] |
Definition at line 173 of file sfx_player.c.
| void(* SefCmdHandlers[])(SoundManager *, SoundPlayer *) | ( | SoundManager * | , |
| SoundPlayer * | ) |
Definition at line 192 of file sfx_player.c.
| u8 BlankSEFData[] |
Definition at line 220 of file sfx_player.c.
Referenced by au_sfx_load_sound().
| void(* SeqCmdHandlers[])(BGMPlayer *, BGMPlayerTrack *) | ( | BGMPlayer * | , |
| BGMPlayerTrack * | ) |
Definition at line 229 of file sfx_player.c.
Referenced by au_bgm_player_update_playing().
| s8 SeqCmdArgCounts[] |
Definition at line 264 of file sfx_player.c.
Referenced by au_bgm_player_update_playing().
| s8 BgmDivisors[] |
Definition at line 271 of file sfx_player.c.
Referenced by au_bgm_dispatch_player_event(), and au_bgm_update_main().
| u8 BlankMseqData[] |
Definition at line 279 of file sfx_player.c.
Referenced by au_amb_player_update(), and au_amb_stop_quick().
| s16 D_80078530[] |
Definition at line 289 of file sfx_player.c.
Referenced by func_80054CE0().
| EnvelopePreset DummyInstrumentEnvelope |
Definition at line 294 of file sfx_player.c.
Referenced by au_reset_instrument().
| u8 EnvelopePressDefault[] |
Definition at line 299 of file sfx_player.c.
Referenced by au_get_instrument().
| u8 EnvelopeReleaseDefault[] |
Definition at line 304 of file sfx_player.c.
| u8 EnvelopeReleaseDefaultFast[] |
Definition at line 309 of file sfx_player.c.
Referenced by func_80050970().
| s8 D_80078558[] |
Definition at line 317 of file sfx_player.c.
Referenced by au_BGMCmd_FF().
| u8 AmbientSoundIDtoMSEQFileIndex[] |
Definition at line 328 of file sfx_player.c.
| s32 AuEnvelopeIntervals[] |
Definition at line 341 of file sfx_player.c.
Referenced by au_update_voices(), and au_voice_start().
| f32 AlTuneScaling[] |
Definition at line 360 of file sfx_player.c.
Referenced by au_compute_pitch_ratio().
|
extern |
Definition at line 103 of file reverb.c.
Referenced by au_sfx_set_reverb_type(), and func_8005904C().
| void(* CurrentSefCmdHandler) (SoundManager *, SoundPlayer *) | ( | SoundManager * | , |
| SoundPlayer * | ) |
Definition at line 421 of file sfx_player.c.