1#ifndef ALCHEMY_UNIT_SOUND_SOUND_H
2#define ALCHEMY_UNIT_SOUND_SOUND_H
UNUSED s32 AudioCommand_GetWidth(s32 command)
Returns the mixer preset chosen by the cue dispatcher.
void MusicCommand_SetPitchAndUpdateFrequency(u16 tempoScale)
Sets the BGM tempo scale directly; 0x100 preserves its native tempo.
void MusicCommand_SetPitch(u16 pitch)
Applies a pitch offset to every active BGM track.
s32 AudioCommand_GetStateByte(void)
Returns the remaining delay before BGM can be restored after a fanfare.
void AudioCommand_Play(s32 id)
Dispatches a packed cue: fade controls, allocated sound effects, fanfares, or background music with a...
void Audio_InitializeRuntimeDefaults(void)
Starts the sound driver, resets the BGM ramps (gMusicVolume and its kin) and clears all player cue re...
s32 AudioCommand_GetSecondaryStateByte(void)
Returns the last BGM cue or fade state selected by AudioCommand_Play.
void AudioCommand_WaitForCompletion(void)
Waits a frame at a time for fanfare restoration, giving up after 300 frames.
void AudioCommand_ResumeAllPlayers(void)
void Audio_SetMusicVolumeTargetAndStep(u16 targetVolume, u16 step)
Sets the BGM volume target and its per-frame adjustment.
void MusicCommand_SetVolume(s16 volume)
Sets BGM volume immediately and cancels any outstanding volume ramp.
void AudioTest_RunParameterController(void)
Runs the audio test's three cue selectors and five mixer presets forever.
void Audio_SetWorkPairB(u16 targetScale, u16 step)
Sets the target and per-frame step of the combined BGM tempo/pitch ramp.
void AudioCommand_StopAllPlayers(void)
Stops every sound player while preserving its state for a later resume.
void AudioCommand_UpdateToggleMask(u32 command)
Replaces the audio command mask, or toggles its requested bits when flagged.
void MusicPlayer_StepVolumeAndPitchTowardTargets(void)
Restores BGM after a fanfare and steps its volume and combined tempo/pitch ramps once per VBlank,...
The integer types, TRUE, UNUSED and the fixed-address macros.