Go to the source code of this file.
Data Structures | |
| struct | MusicTriggeredSound |
Macros | |
| #define | SEC(x) (((s32)(x * 1000000) / AU_FRAME_USEC) * AU_FRAME_USEC) |
| #define | NEXT_POLY_TRACK trackCount--; if (trackCount <= 0 ) { break; } cmdList += 2; |
Enumerations | |
| enum | SoundEffectParamFlags { SFX_PARAM_MODE_BASIC = 0x00000000 , SFX_PARAM_MODE_SEQUENCE = 0x00000001 , SFX_PARAM_MODE_COMPACT = 0x00000002 , SFX_PARAM_MODE_MASK = 0x00000003 , SFX_PARAM_LOCK_VOLUME = 0x00000004 , SFX_PARAM_LOCK_PAN = 0x00000008 , SFX_PARAM_LOCK_PITCH = 0x00000010 , SFX_PARAM_LOCK_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_begin_video_frame (SoundManager *manager) |
| s32 | au_sfx_set_reverb_type (SoundManager *manager, s32 arg1) |
| void | au_sfx_set_state (SoundManager *manager, s32 state) |
| void | au_sfx_try_sound (SoundManager *manager, SoundRequest *request, SoundManagerCustomCmdList *customSEF) |
| s16 | au_sfx_manager_audio_frame_update (SoundManager *manager) |
| #define SEC | ( | x | ) | (((s32)(x * 1000000) / AU_FRAME_USEC) * AU_FRAME_USEC) |
Definition at line 357 of file sfx_player.c.
| #define NEXT_POLY_TRACK trackCount--; if (trackCount <= 0 ) { break; } cmdList += 2; |
| Enumerator | |
|---|---|
| SFX_PARAM_MODE_BASIC | |
| SFX_PARAM_MODE_SEQUENCE | |
| SFX_PARAM_MODE_COMPACT | |
| SFX_PARAM_MODE_MASK | |
| SFX_PARAM_LOCK_VOLUME | |
| SFX_PARAM_LOCK_PAN | |
| SFX_PARAM_LOCK_PITCH | |
| SFX_PARAM_LOCK_REVERB | |
Definition at line 54 of file sfx_player.c.
| void au_sfx_init | ( | SoundManager * | manager, |
| u8 | priority, | ||
| u8 | busID, | ||
| AuGlobals * | globals, | ||
| u8 | minVoiceIdx ) |
Definition at line 466 of file sfx_player.c.
Referenced by au_engine_init().
| void au_sfx_load_groups_from_SEF | ( | SoundManager * | manager | ) |
Definition at line 551 of file sfx_player.c.
Referenced by au_engine_init().
| void au_sfx_clear_queue | ( | SoundManager * | manager | ) |
Definition at line 571 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 590 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_begin_video_frame | ( | SoundManager * | manager | ) |
Definition at line 618 of file sfx_player.c.
Referenced by au_update_clients_for_video_frame().
| s32 au_sfx_set_reverb_type | ( | SoundManager * | manager, |
| s32 | arg1 ) |
Definition at line 719 of file sfx_player.c.
Referenced by au_set_reverb_type(), and au_sfx_init().
| void au_sfx_set_state | ( | SoundManager * | manager, |
| s32 | state ) |
Definition at line 739 of file sfx_player.c.
Referenced by au_sfx_init(), snd_disable_sfx(), and snd_enable_sfx().
| void au_sfx_try_sound | ( | SoundManager * | manager, |
| SoundRequest * | request, | ||
| SoundManagerCustomCmdList * | customSEF ) |
Definition at line 747 of file sfx_player.c.
Referenced by au_sfx_begin_video_frame().
| s16 au_sfx_manager_audio_frame_update | ( | SoundManager * | manager | ) |
Definition at line 1139 of file sfx_player.c.
Referenced by au_update_clients_for_audio_frame().
| s16 DummyInstrumentCodebook[32] |
Definition at line 69 of file sfx_player.c.
| u8 DummyInstrumentWavData[190] |
Definition at line 76 of file sfx_player.c.
| s32 CUSTOM_SMALL_ROOM_PARAMS[] |
Definition at line 92 of file sfx_player.c.
Referenced by au_sfx_init().
| s32 CUSTOM_ECHO_PARAMS_1[] |
Definition at line 103 of file sfx_player.c.
Referenced by au_sfx_init().
| s32 CUSTOM_ECHO_PARAMS_2[] |
Definition at line 112 of file sfx_player.c.
Referenced by au_sfx_init().
| s32 CUSTOM_ECHO_PARAMS_3[] |
Definition at line 121 of file sfx_player.c.
Referenced by au_sfx_init().
| MusicTriggeredSound MusicSounds[] |
Definition at line 129 of file sfx_player.c.
Referenced by au_sfx_begin_video_frame().
| EnvelopePreset SFXEnvelopeFast |
Definition at line 138 of file sfx_player.c.
| u8 SFXEnvelopeFastData[] |
Definition at line 143 of file sfx_player.c.
| EnvelopePreset SFXEnvelopeSlow |
Definition at line 155 of file sfx_player.c.
| u8 SFXEnvelopeSlowData[] |
Definition at line 160 of file sfx_player.c.
| s32 D_800783B0[] |
Definition at line 177 of file sfx_player.c.
| EnvelopePreset* SFXEnvelopePresets[] |
Definition at line 181 of file sfx_player.c.
| void(* SefCmdHandlers[])(SoundManager *, SoundPlayer *) | ( | SoundManager * | , |
| SoundPlayer * | ) |
Definition at line 200 of file sfx_player.c.
| u8 BlankSEFData[] |
Definition at line 228 of file sfx_player.c.
Referenced by au_sfx_try_sound().
| void(* SeqCmdHandlers[])(BGMPlayer *, BGMPlayerTrack *) | ( | BGMPlayer * | , |
| BGMPlayerTrack * | ) |
Definition at line 237 of file sfx_player.c.
Referenced by au_bgm_player_update_playing().
| s8 SeqCmdArgCounts[] |
Definition at line 272 of file sfx_player.c.
Referenced by au_bgm_player_update_playing().
| s8 BgmTicksRates[] |
Definition at line 279 of file sfx_player.c.
Referenced by au_bgm_begin_video_frame(), and au_bgm_process_init_song().
| u8 BlankMseqData[] |
Definition at line 287 of file sfx_player.c.
Referenced by au_mseq_player_update(), and au_mseq_stop_quick().
| u16 PerceptualVolumeLevels[] |
Volume steps use squared values so each level represents linear power increase, matching loudness perception.
This makes each step sound evenly spaced.
Definition at line 299 of file sfx_player.c.
Referenced by au_set_bus_volume_level().
| EnvelopePreset DummyInstrumentEnvelope |
Definition at line 312 of file sfx_player.c.
| u8 EnvelopePressDefault[] |
Definition at line 317 of file sfx_player.c.
Referenced by au_get_instrument().
| u8 EnvelopeReleaseDefault[] |
Definition at line 322 of file sfx_player.c.
| u8 EnvelopeReleaseDefaultFast[] |
Definition at line 327 of file sfx_player.c.
Referenced by au_bgm_set_linked_tracks().
| s8 BgmCustomEnvLookup[] |
Definition at line 335 of file sfx_player.c.
Referenced by au_BGMCmd_FF_Special().
| u8 AmbientSoundIDtoMSEQFileIndex[] |
Definition at line 346 of file sfx_player.c.
| s32 AuEnvelopeIntervals[] |
Definition at line 359 of file sfx_player.c.
Referenced by au_update_voices(), and au_voice_start().
| f32 AlTuneScaling[] |
Definition at line 378 of file sfx_player.c.
Referenced by au_compute_pitch_ratio().
|
extern |
Definition at line 106 of file reverb.c.
Referenced by au_fx_load_preset(), and au_sfx_set_reverb_type().
| void(* CurrentSefCmdHandler) (SoundManager *, SoundPlayer *) | ( | SoundManager * | , |
| SoundPlayer * | ) |
Definition at line 464 of file sfx_player.c.