The sound driver's command masks, cue controls and the routines and globals it shares with the engine. More...
Go to the source code of this file.
Macros | |
| #define | AUDIO_INITIAL_MODE 0x0097F800 |
Enumerations | |
| enum | AudioCommandMask { AUDIO_COMMAND_TOGGLE = 0x80 , AUDIO_COMMAND_MASK = 0x7f } |
| enum | AudioCueControl { AUDIO_CUE_ID_MASK = 0xfff , AUDIO_CUE_FLAGS_MASK = 0xf000 , AUDIO_CUE_START_SILENT = 0x1000 , AUDIO_CUE_FADE_BGM = 17 , AUDIO_CUE_KEEP_BGM = 18 , AUDIO_CUE_FADE_SLOT3 = 0x121 , AUDIO_JINGLE_FIRST = 80 , AUDIO_SONG_FIRST = 100 } |
Functions | |
| s32 | Sound_LoadPresetParameters (s32 preset) |
| Copies the mixer code for sound preset preset (0 to 4; anything else is 0) from ROM into IwramSoundPresetCode. | |
| void | Bios_CpuSet (const void *source, void *destination, u32 control) |
The sound driver's command masks, cue controls and the routines and globals it shares with the engine.
Definition in file audio_engine_symbols.h.
| #define AUDIO_INITIAL_MODE 0x0097F800 |
Definition at line 15 of file audio_engine_symbols.h.
Referenced by Audio_Initialize().
| enum AudioCommandMask |
| Enumerator | |
|---|---|
| AUDIO_COMMAND_TOGGLE | |
| AUDIO_COMMAND_MASK | |
Definition at line 10 of file audio_engine_symbols.h.
| enum AudioCueControl |
| Enumerator | |
|---|---|
| AUDIO_CUE_ID_MASK | |
| AUDIO_CUE_FLAGS_MASK | |
| AUDIO_CUE_START_SILENT | |
| AUDIO_CUE_FADE_BGM | |
| AUDIO_CUE_KEEP_BGM | |
| AUDIO_CUE_FADE_SLOT3 | |
| AUDIO_JINGLE_FIRST | |
| AUDIO_SONG_FIRST | |
Definition at line 17 of file audio_engine_symbols.h.
| void Bios_CpuSet | ( | const void * | source, |
| void * | destination, | ||
| u32 | control ) |
Referenced by Audio_Initialize(), AudioEngine_Initialize(), AudioEngine_SuspendDirectSound(), Bios_CpuSet(), and CgbAudio_Initialize().
|
extern |
|
extern |
|
extern |
Referenced by Bios_CpuSet(), and MusicPlayer_StepVolumeAndPitchTowardTargets().
|
extern |
Referenced by AudioCommand_Play(), and Bios_CpuSet().
|
extern |
Referenced by Audio_InitializeRuntimeDefaults(), AudioCommand_Play(), and Bios_CpuSet().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by Audio_InitializeRuntimeDefaults(), Bios_CpuSet(), and MusicPlayer_StepVolumeAndPitchTowardTargets().
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by Audio_InitializeRuntimeDefaults(), AudioCommand_UpdateToggleMask(), and Bios_CpuSet().