Go to the source code of this file.
Macros | |
#define | NO_INSTRUMENT ((Instrument*) -1) |
#define | AU_FX_DELAY_COUNT 4 |
#define | AU_FX_LENGTH 0xA10 |
#define | AU_5750 5750 |
#define | SAMPLES 184 |
#define | SAMPLE184(delta) (((delta) + (SAMPLES / 2)) / SAMPLES) * SAMPLES |
#define | FIXED_SAMPLE SAMPLES |
#define | N_AL_DECODER_IN 0 |
#define | N_AL_RESAMPLER_OUT 0 |
#define | N_AL_TEMP_0 0 |
#define | N_AL_DECODER_OUT 0x170 |
#define | N_AL_TEMP_1 0x170 |
#define | N_AL_TEMP_2 0x2E0 |
#define | N_AL_MAIN_L_OUT 0x4E0 |
#define | N_AL_MAIN_R_OUT 0x650 |
#define | N_AL_AUX_L_OUT 0x7C0 |
#define | N_AL_AUX_R_OUT 0x930 |
#define | ALIGN16_(val) (((val) + 0xF) & 0xFFF0) |
#define | AU_FILE_RELATIVE(base, offset) ((void*)((s32)(offset) + (s32)(base))) |
#define | AUDIO_HEAP_SIZE 0x56000 |
#define | AUDIO_SAMPLES 184 |
#define | AUDIO_COMMAND_LIST_BUFFER_SIZE 0x4000 |
#define | ADPCMFBYTES 9 |
#define | SND_MAX_VOLUME_8 0x7F |
#define | SND_MAX_VOLUME_16 0x7FFF |
#define | BGM_SAMPLE_RATE 156250 |
#define | BGM_DEFAULT_TEMPO 15600 |
#define | SND_MIN_DURATION 250 |
#define | SND_MAX_DURATION 10000 |
#define | BGM_MAX_VOLUME 127 |
#define | BGM_SEGMENT_LABEL 3 |
Typedefs | |
typedef s8 | UNK_TYPE_08 |
typedef s16 | UNK_TYPE_16 |
typedef s32 | UNK_TYPE_32 |
typedef void * | UNK_TYPE_PTR |
typedef u8 * | AuFilePos |
typedef u8 * | WaveData |
typedef u32 | SegData |
typedef void(* | AuCallback) (void) |
typedef s32(* | ALDMAproc2) (s32 addr, s32 len, void *state, u8 arg3) |
typedef ALDMAproc2(* | ALDMANew2) (void *state) |
typedef Instrument * | InstrumentGroup[16] |
Variables | |
volatile u8 | AuSynUseStereo |
u16 | DummyInstrumentPredictor [32] |
u8 | DummyInstrumentBase [190] |
s32 | CUSTOM_SMALL_ROOM_PARAMS [] |
s32 | CUSTOM_ECHO_PARAMS_1 [] |
s32 | CUSTOM_ECHO_PARAMS_3 [] |
s32 | CUSTOM_ECHO_PARAMS_2 [] |
EnvelopePreset | DummyInstrumentEnvelope |
u8 | AmbientSoundIDtoMSEQFileIndex [] |
s32 | AuEnvelopeIntervals [] |
s32 | PreventBGMPlayerUpdate |
u16 | AuAmbiencePlayOnlyIndex |
AuSynDriver * | gActiveSynDriverPtr |
AuSynDriver * | gSynDriverPtr |
u8 | AuUseGlobalVolume |
u16 | AuGlobalVolume |
u8 | AuSynStereoDirty |
AuGlobals * | gSoundGlobals |
BGMPlayer * | gBGMPlayerC |
BGMPlayer * | gBGMPlayerB |
AmbienceManager * | gAuAmbienceManager |
SoundManager * | gSoundManager |
BGMPlayer * | gBGMPlayerA |
union AmbVoiceStateInfo |
Data Fields | ||
---|---|---|
struct AmbVoiceStateInfo.__unnamed58__ | __unnamed__ | |
s32 | all |
union SeqArgs |
Data Fields | ||
---|---|---|
u8 | raw[4] | |
struct SeqArgs.MasterTempo | MasterTempo | |
struct SeqArgs.MasterVolume | MasterVolume | |
struct SeqArgs.MasterPitchShift | MasterPitchShift | |
struct SeqArgs.UnkCmdE3 | UnkCmdE3 | |
struct SeqArgs.MasterTempoFade | MasterTempoFade | |
struct SeqArgs.MasterVolumeFade | MasterVolumeFade | |
struct SeqArgs.MasterEffect | MasterEffect | |
struct SeqArgs.TrackOverridePatch | TrackOverridePatch | |
struct SeqArgs.SubTrackVolume | SubTrackVolume | |
struct SeqArgs.SubTrackPan | SubTrackPan | |
struct SeqArgs.SubTrackReverb | SubTrackReverb | |
struct SeqArgs.SegTrackVolume | SegTrackVolume | |
struct SeqArgs.SubTrackCoarseTune | SubTrackCoarseTune | |
struct SeqArgs.SubTrackFineTune | SubTrackFineTune | |
struct SeqArgs.SegTrackTune | SegTrackTune | |
struct SeqArgs.TrackTremolo | TrackTremolo | |
struct SeqArgs.TrackTremoloSpeed | TrackTremoloSpeed | |
struct SeqArgs.TrackTremoloTime | TrackTremoloTime | |
struct SeqArgs.UnkCmdF4 | UnkCmdF4 | |
struct SeqArgs.SetTrackVoice | SetTrackVoice | |
struct SeqArgs.TrackVolumeFade | TrackVolumeFade | |
struct SeqArgs.SubTrackReverbType | SubTrackReverbType | |
struct SeqArgs.Jump | Jump | |
struct SeqArgs.EventTrigger | EventTrigger | |
struct SeqArgs.Detour | Detour | |
struct SeqArgs.UnkCmdFF | UnkCmdFF |
struct Fade |
Data Fields | ||
---|---|---|
VolumeField | curVolume | |
s32 | fadeStep | |
s16 | targetVolume | |
s16 | fadeTime | |
union Fade.__unnamed86__ | __unnamed__ | |
VolumeField | volScale | |
s32 | volScaleStep | |
s16 | targetVolScale | |
s16 | volScaleTime |
struct AlUnkPi |
Data Fields | ||
---|---|---|
UNK_TYPE_32 | unk_00 | |
UNK_TYPE_32 | unk__04 | |
UNK_TYPE_32 | unk_08 | |
UNK_TYPE_32 | unk_0C |
struct AuDelay |
Data Fields | ||
---|---|---|
u32 | input | |
u32 | output | |
s16 | ffcoef | |
s16 | fbcoef | |
s16 | gain | |
char | pad_0E[2] | |
f32 | rsinc | |
f32 | rsval | |
s32 | rsdelta | |
f32 | rsgain | |
struct AuLowPass * | lowpass_20 | |
struct AuLowPass * | lowpass_24 | |
struct AuResampler * | resampler_28 | |
struct AuResampler * | resampler_2C |
struct AuFX |
Data Fields | ||
---|---|---|
s16 * | base | |
s16 * | input | |
s32 | length | |
AuDelay * | delays | |
u8 | delayCount |
struct AuLowPass |
struct AlUnkKappa |
Data Fields | ||
---|---|---|
UNK_TYPE_PTR | unk_00 | |
UNK_TYPE_16 | unk__04 | |
s16 | unk_06 | |
s16 | unk_08 | |
UNK_TYPE_16 | unk__0A | |
AuLowPass * | lowpass_0C | |
AuLowPass * | lowpass_10 |
struct AuFxBus |
struct AuLoadFilter |
Data Fields | ||
---|---|---|
ADPCM_STATE * | state | |
ADPCM_STATE * | lstate | |
ALRawLoop | loop | |
struct Instrument * | instrument | |
s32 | bookSize | |
ALDMAproc2 | dmaFunc | |
NUDMAState * | dmaState | |
s32 | sample | |
s32 | lastsam | |
s32 | first | |
s32 | memin |
struct AuEnvMixer |
struct AuPVoice |
Data Fields | ||
---|---|---|
struct AuPVoice * | next | |
AuLoadFilter | decoder | |
AuResampler | resampler | |
AuEnvMixer | envMixer | |
s16 | unk_74 | |
s16 | unk_76 | |
u8 | busId | |
u8 | index | |
u8 | unk_7A[2] |
struct AuSynDriver |
struct SoundSFXEntry |
struct EnvelopePreset |
Data Fields | ||
---|---|---|
u8 | count | |
char | unk_01[3] | |
EnvelopeOffset | offsets[1] |
struct Instrument |
Data Fields | ||
---|---|---|
u8 * | base | |
u32 | wavDataLength | |
UNK_PTR | loopPredictor | |
s32 | loopStart | |
s32 | loopEnd | |
s32 | loopCount | |
u16 * | predictor | |
u16 | dc_bookSize | |
u16 | keyBase | |
union Instrument.__unnamed88__ | __unnamed__ | |
u8 | type | |
u8 | unk_25 | |
s8 | unk_26 | |
s8 | unk_27 | |
s8 | unk_28 | |
s8 | unk_29 | |
s8 | unk_2A | |
s8 | unk_2B | |
EnvelopePreset * | envelopes |
struct SoundPlayChange |
Data Fields | ||
---|---|---|
union SoundPlayChange.__unnamed90__ | __unnamed__ |
struct SoundPlayer |
Data Fields | ||
---|---|---|
AuFilePos | sefDataReadPos | |
char | pad4[0xC] | |
EnvelopeData | envelope | |
u8 * | envelopCustomPressProfile | |
Instrument * | sfxInstrumentRef | |
Instrument | sfxInstrument | |
AuFilePos | sefReadStart | |
SoundPlayChange | changed | |
f32 | pitchRatio | |
s16 | sfxVolume | |
s16 | alternativeVolume | |
SoundLerp | tuneLerp | |
SoundLerp | volumeLerp | |
u8 | cmdList_mode2[8] | |
AuFilePos | alternativeDataPos | |
s8 | alternativeType | |
u8 | triggers | |
char | unk_86[0x2] | |
s8 * | loopStartPos | |
u8 | loopIterCount | |
char | unk_8D | |
u16 | delay | |
u16 | playLength | |
s16 | coarseTune | |
s8 | fineTune | |
char | unk_05 | |
u16 | curSoundID | |
u8 | priority | |
u8 | exclusiveID | |
u8 | sfxParamsFlags | |
u8 | sfxPan | |
u8 | reverb | |
u8 | instrumentIndex | |
u8 | envelopePreset | |
u8 | playVelocity | |
u8 | unk_A0 | |
u8 | randomPitch | |
u8 | randomVelocity | |
s8 | unk_A3 | |
s16 | masterPitchShift | |
s16 | masterVolume | |
u8 | masterPan | |
u8 | state | |
char | unk_AA[0x2] |
struct SoundManager90 |
Data Fields | ||
---|---|---|
union SoundManager90.__unnamed94__ | __unnamed__ |
struct SoundManager |
Data Fields | ||
---|---|---|
struct AuGlobals * | globals | |
struct AuVoice * | curVoice | |
u8 * | sefData | |
s32 * | normalSounds[8] | |
s32 * | extraSounds | |
s32 | playCounter | |
s32 | nextUpdateStep | |
s32 | nextUpdateInterval | |
s32 | nextUpdateCounter | |
struct Fade | fadeInfo | |
s32 | busVolume | |
s32 | randomValue | |
s32 * | customReverbParams[8] | |
s8 | customReverbAmounts[8] | |
u8 | lastCustomEffectIdx | |
s8 | defaultReverbAmt | |
char | unk_8E[0x2] | |
SoundManager90 | bgmSounds[4] | |
SoundManagerCustomCmdList | customCmdList[4] | |
u16 | baseVolume | |
s16 | unk_BA | |
u8 | priority | |
u8 | sfxPlayerSelector | |
u8 | busId | |
u8 | curVoiceIndex | |
u8 | state | |
char | unk_C1[0x1] | |
SoundSFXEntry | soundQueue[16] | |
s8 | unk_162 | |
u8 | sfxQueuePosOffset | |
u8 | sfxQueueNextPos | |
s8 | unk_165 | |
char | unk_166[0x2] | |
s32 | resetPending | |
SoundPlayer | players[8] |
struct SoundInstance |
Data Fields | ||
---|---|---|
s32 | flags | |
s32 | soundID | |
s32 | sourceFlags | |
u8 | volume | |
u8 | pan | |
s16 | pitchShift | |
Vec3f | pos |
struct AuVoice |
Data Fields | ||
---|---|---|
Instrument * | instrument | |
f32 | pitchRatio | |
s32 | delta | |
s16 | p_volume | |
u8 | pan | |
u8 | reverb | |
u8 | busId | |
char | unk_11[0x3] | |
EnvelopeData | envelope | |
u8 * | cmdPtr | |
s32 | unk_20 | |
s32 | volChangeTime | |
s32 | timeLeft | |
f32 | rate | |
s32 | volMult | |
u8 * | loopStart | |
u8 | loopCounter | |
u8 | initialAmp | |
u8 | targetAmp | |
u8 | timeIntervalIndex | |
u8 | unk_3C | |
u8 | envelopeFlags | |
u8 | relativeReleaseVolumes | |
u8 | releaseVolumeMult | |
s16 | clientVolume | |
u8 | stopPending | |
u8 | syncFlags | |
s8 | clientPriority | |
u8 | priority | |
char | unk_46[2] |
struct BGMFileInfo |
struct BGMHeader |
Data Fields | ||
---|---|---|
s32 | signature | |
s32 | size | |
s32 | name | |
char | pad_C[4] | |
BGMFileInfo | info |
struct BGMDrumInfo |
struct BGMInstrumentInfo |
struct SBNHeader |
Data Fields | ||
---|---|---|
AUFileMetadata | mdata | |
char | unused_08[8] | |
s32 | tableOffset | |
s32 | numEntries | |
s32 | fileSize | |
s32 | versionOffset | |
char | unused_04[4] | |
s32 | INIToffset | |
char | reserved[24] |
struct SEFHeader |
Data Fields | ||
---|---|---|
AUFileMetadata | mdata | |
s32 | unk8 | |
s8 | unkC | |
s8 | unkD | |
u8 | hasExtraSection | |
s8 | unkF | |
u16 | sections[8] | |
u16 | section2000 |
struct INITHeader |
Data Fields | ||
---|---|---|
AUFileMetadata | mdata | |
u16 | entriesOffset | |
u16 | entriesSize | |
u16 | tblOffset | |
u16 | tblSize | |
u16 | shortsOffset | |
u16 | shortsSize | |
char | unk_14[0xC] |
struct PERHeader |
Data Fields | ||
---|---|---|
AUFileMetadata | mdata | |
char | unk_08[8] |
struct PEREntry |
Data Fields | ||
---|---|---|
BGMDrumInfo | drums[12] |
struct SBNFileEntry |
Data Fields | ||
---|---|---|
s32 | offset | |
union SBNFileEntry.__unnamed98__ | __unnamed__ |
struct BKHeader |
struct SndGlobalsSub6C |
Data Fields | ||
---|---|---|
struct BGMPlayer * | bgmPlayer | |
u8 | unk_4 | |
u8 | unk_5 |
struct AuGlobals |
Data Fields | ||
---|---|---|
f32 | outputRate | |
Instrument * | defaultInstrument | |
BGMDrumInfo | defaultDrumEntry | |
BGMInstrumentInfo | defaultPRGEntry | |
s32 | baseRomOffset | |
SBNFileEntry * | sbnFileList | |
s32 | fileListLength | |
char | unk_28[0x4] | |
InitSongEntry * | songList | |
s32 | songListLength | |
s32 | bkFileListOffset | |
s32 | bkListLength | |
u16 * | mseqFileList | |
AuEffectChange | effectChanges[4] | |
u8 | channelDelayPending | |
u8 | channelDelayBusId | |
u8 | channelDelayTime | |
u8 | channelDelaySide | |
PEREntry * | dataPER | |
BGMInstrumentInfo * | dataPRG | |
struct BGMHeader * | dataBGM[2] | |
struct MSEQHeader * | dataMSEQ[2] | |
SndGlobalsSub6C | unk_globals_6C[1] | |
struct BGMPlayer * | unk_74 | |
struct BGMPlayer * | unk_78 | |
s32 | unkSongName | |
s32 | unk_80 | |
s32 | unkFadeTime | |
s32 | unkFadeStart | |
s32 | unkFadeEnd | |
MusicEventTrigger * | musicEventQueuePos | |
MusicEventTrigger * | musicEventQueue | |
u32 | musicEventQueueCount | |
s32 | flushMusicEventQueue | |
SEFHeader * | dataSEF | |
AuCallback | audioThreadCallbacks[2] | |
InstrumentGroup | instrumentGroupX[1] | |
InstrumentGroup | instrumentGroup3[16] | |
InstrumentGroup | instrumentGroup1[4] | |
InstrumentGroup | instrumentGroup2[16] | |
InstrumentGroup | instrumentGroup4[16] | |
InstrumentGroup | instrumentGroup5[16] | |
InstrumentGroup | instrumentGroup6[4] | |
InstrumentGroup * | instrumentGroups[8] | |
u8 | unk_130C | |
char | unk_130D[3] | |
SoundBank * | banks[3] | |
char | unk_131C[4] | |
AuVoice | voices[24] |
struct BGMPlayerTrack |
Data Fields | ||
---|---|---|
AuFilePos | bgmReadPos | |
AuFilePos | savedPos | |
AuFilePos | prevReadPos | |
Instrument * | instrument | |
EnvelopeData | envelope | |
s32 | subTrackVolume | |
s32 | subTrackVolumeStep | |
s32 | subTrackVolumeTarget | |
s32 | subTrackVolumeTime | |
s32 | delayTime | |
s32 | unkVolume | |
s32 | unkVolumeStep | |
s16 | unkVolumeTarget | |
s16 | unkVolumeTime | |
s16 | segTrackTune | |
s16 | trackTremoloAmount | |
char | unk_3C[0x2] | |
s16 | detourLength | |
SoundPlayChange | changed | |
u16 | patch | |
u16 | subTrackCoarseTune | |
s8 | subTrackFineTune | |
s8 | segTrackVolume | |
u8 | subTrackPan | |
u8 | subTrackReverb | |
u8 | unk_4C | |
u8 | unk_4D | |
u8 | unk_4E | |
u8 | unk_4F | |
u8 | unk_50 | |
u8 | unk_51 | |
u8 | unk_52 | |
u8 | unk_53 | |
u8 | polyphonicIdx | |
u8 | trackTremoloSpeed | |
u8 | trackTremoloTime | |
u8 | unk_57 | |
u8 | isDrumTrack | |
u8 | parentTrackIdx | |
u8 | unk_5A | |
s8 | subtrackBusId | |
u8 | index | |
char | unk_5D[0x3] |
struct SeqNote |
Data Fields | ||
---|---|---|
Instrument * | ins | |
f32 | pitchRatio | |
s16 | volume | |
s16 | adjustedPitch | |
s32 | noteLength | |
u16 | tremoloAmount | |
u8 | tremoloTime | |
u8 | unk_13 | |
s16 | unk_14 | |
u8 | noteVelocity | |
u8 | unk_note_17 |
struct BGMPlayer |
Data Fields | ||
---|---|---|
AuGlobals * | globals | |
SoundManager * | soundManager | |
s32 | nextUpdateStep | |
s32 | nextUpdateInterval | |
s32 | nextUpdateCounter | |
s32 | updateCounter | |
s32 | songPlayingCounter | |
s32 | songName | |
s32 | fadeSongName | |
s32 | bgmFileIndex | |
s32 | songID | |
Fade | fadeInfo | |
s32 | busVolume | |
u8 | effectIndices[4] | |
s32 | randomValue1 | |
s32 | randomValue2 | |
u16 | unk_58 | |
s16 | unk_5A | |
s16 | unk_5C | |
char | pad5E[2] | |
u32 | curSegmentID | |
struct BGMHeader * | bgmFile | |
SegData * | segmentReadPos | |
SegData * | segmentStartPos | |
SegData * | subSegmentStartPos | |
s32 | unk_74 | |
BGMDrumInfo * | drumsInfo | |
BGMInstrumentInfo * | instrumentsInfo | |
BGMDrumInfo * | drums[12] | |
s32 | masterTempo | |
s32 | masterTempoStep | |
s32 | masterTempoTarget | |
s32 | masterTempoTime | |
s32 | masterVolume | |
s32 | masterVolumeStep | |
s32 | masterVolumeTarget | |
s32 | masterVolumeTime | |
f32 | playbackRate | |
SeqArgs | seqCmdArgs | |
SegData * | segLoopStartLabels[32] | |
SegData * | segActiveLoopEndPos[4] | |
u8 | segLoopCounters[4] | |
s32 | proxMixValue | |
u8 | proxMixID | |
u8 | proxMixVolume | |
char | unk_172[0x2] | |
s16 | unk_174[8][9] | |
u8 * | trackVolsConfig | |
u16 | masterTempoBPM | |
u16 | maxTempo | |
u16 | masterPitchShift | |
s16 | detune | |
u8 | segLoopDepth | |
u8 | unk_211 | |
u8 | unk_212[8] | |
s8 | volumeChanged | |
u8 | unk_21B | |
u8 | bgmDrumCount | |
u8 | bgmInstrumentCount | |
u8 | unk_21E | |
char | unk_21F[0x1] | |
u8 | unk_220 | |
u8 | masterState | |
u8 | unk_222 | |
u8 | unk_223 | |
u8 | effectValues[4] | |
char | unk_228[0x2] | |
u8 | unk_22A[8] | |
u8 | bFadeConfigSetsVolume | |
u8 | unk_233 | |
u8 | priority | |
u8 | busId | |
char | unk_236[0x2] | |
s32 | unk_238[8] | |
u8 | unk_258 | |
u8 | unk_259 | |
u8 | unk_25A | |
u8 | unk_25B | |
BGMPlayerTrack | tracks[16] | |
SeqNote | notes[24] |
struct MSEQHeader |
struct AmbienceTrack |
Data Fields | ||
---|---|---|
Instrument * | instrument | |
EnvelopeData | envelope | |
SoundLerp | tuneLerp | |
SoundLerp | volumeLerp | |
s8 | pan | |
s8 | reverb | |
u8 | flags | |
char | unk_27[1] |
struct AmbienceVoiceState |
Data Fields | ||
---|---|---|
AmbVoiceStateInfo | info | |
s16 | pitch | |
s8 | volume | |
u8 | isResumable |
struct AmbiencePlayer |
Data Fields | ||
---|---|---|
MSEQHeader * | mseqFile | |
AuFilePos | mseqReadStart | |
AuFilePos | mseqReadPos | |
AuFilePos | loopStartPos[2] | |
AmbVoiceStateInfo | id | |
s32 | delay | |
s32 | unk_1C | |
s32 | mseqName | |
u8 | mode | |
u8 | playState | |
u8 | fadeSettingsType | |
char | unk_27[1] | |
u16 | fadeSettingsTime | |
u8 | fadeSettingsInitial | |
u8 | fadeSettingsGoal | |
u8 | loopCount[2] | |
char | unk_2E[2] | |
u32 | firstVoiceIdx | |
u32 | lastVoiceIdx | |
s32 | fadeVolume | |
s32 | fadeStep | |
u16 | fadeTime | |
u8 | fadeGoal | |
u8 | resetRequired | |
AmbienceTrack | tracks[10] | |
AmbienceSavedVoice | savedVoices[4] |
struct AmbienceManager |
Data Fields | ||
---|---|---|
AuGlobals * | globals | |
s32 | nextUpdateStep | |
s32 | nextUpdateInterval | |
s32 | nextUpdateCounter | |
MSEQHeader * | mseqFiles[4] | |
u8 | numActivePlayers | |
u8 | loadTracksFadeInfo | |
u8 | priority | |
u8 | busId | |
AmbiencePlayer | players[4] | |
AmbienceVoiceState | voiceStates[16] |
struct ALConfig |
union Fade.__unnamed86__ |
Data Fields | ||
---|---|---|
AuCallback | onCompleteCallback | |
s32 | variation |
union SoundPlayChange.__unnamed90__ |
Data Fields | ||
---|---|---|
u32 | all | |
struct SoundPlayChange.__unnamed90__.__unnamed92__ | __unnamed__ |
union SoundManager90.__unnamed94__ |
Data Fields | ||
---|---|---|
s32 | s32 | |
struct SoundManager90.__unnamed94__.__unnamed96__ | __unnamed__ |
union SBNFileEntry.__unnamed98__ |
Data Fields | ||
---|---|---|
u32 | data | |
struct SBNFileEntry.__unnamed98__.__unnamed100__ | __unnamed__ |
struct SBNFileEntry.__unnamed98__.__unnamed100__ |
Data Fields | ||
---|---|---|
s8 | fmt | |
UNK_TYPE_08 | unk__05 | |
s16 | size |
#define NO_INSTRUMENT ((Instrument*) -1) |
Definition at line 17 of file audio.h.
Referenced by au_bgm_player_initialize().
#define AU_FX_DELAY_COUNT 4 |
Definition at line 19 of file audio.h.
Referenced by func_80058E84().
#define AU_FX_LENGTH 0xA10 |
Definition at line 20 of file audio.h.
Referenced by func_80058E84(), and func_8005904C().
#define AU_5750 5750 |
Definition at line 22 of file audio.h.
Referenced by au_fade_init(), au_update_voices(), au_voice_get_delta(), func_8004DB4C(), and func_80053B04().
#define FIXED_SAMPLE SAMPLES |
Definition at line 26 of file audio.h.
Referenced by au_pull_fx().
#define N_AL_DECODER_IN 0 |
Definition at line 28 of file audio.h.
Referenced by au_pull_voice().
#define N_AL_TEMP_0 0 |
Definition at line 30 of file audio.h.
Referenced by au_pull_fx().
#define N_AL_DECODER_OUT 0x170 |
Definition at line 31 of file audio.h.
Referenced by au_pull_voice().
#define N_AL_TEMP_1 0x170 |
Definition at line 32 of file audio.h.
Referenced by au_pull_fx().
#define N_AL_TEMP_2 0x2E0 |
Definition at line 33 of file audio.h.
Referenced by au_pull_fx().
#define N_AL_MAIN_L_OUT 0x4E0 |
Definition at line 34 of file audio.h.
Referenced by alAudioFrame().
#define N_AL_MAIN_R_OUT 0x650 |
Definition at line 35 of file audio.h.
Referenced by alAudioFrame().
#define N_AL_AUX_L_OUT 0x7C0 |
Definition at line 36 of file audio.h.
Referenced by alAudioFrame().
#define N_AL_AUX_R_OUT 0x930 |
Definition at line 37 of file audio.h.
Referenced by alAudioFrame().
#define ALIGN16_ | ( | val | ) | (((val) + 0xF) & 0xFFF0) |
Definition at line 39 of file audio.h.
Referenced by au_load_BK_to_bank().
#define AU_FILE_RELATIVE | ( | base, | |
offset ) ((void*)((s32)(offset) + (s32)(base))) |
Definition at line 40 of file audio.h.
Referenced by au_amb_load_track_fade_info(), au_amb_play_sequence(), au_ambient_load(), au_bgm_dispatch_player_event(), au_bgm_load_subsegment(), au_bgm_update_main(), au_BGMCmd_FC_Jump(), au_BGMCmd_FE_Detour(), au_get_instrument(), au_load_BK_to_bank(), au_sfx_load_groups_from_SEF(), au_sfx_load_sound(), au_swizzle_BK_instruments(), and func_80054AA0().
#define AUDIO_HEAP_SIZE 0x56000 |
Definition at line 42 of file audio.h.
Referenced by create_audio_system().
#define AUDIO_SAMPLES 184 |
Definition at line 44 of file audio.h.
Referenced by alAudioFrame(), au_delay_channel(), au_delay_left_channel(), au_delay_right_channel(), au_driver_init(), au_pull_fx(), au_pull_voice(), au_reset_nonfree_voice(), au_reset_voice(), au_update_voices(), au_voice_get_delta(), create_audio_system(), func_8005904C(), and nuAuMgr().
#define AUDIO_COMMAND_LIST_BUFFER_SIZE 0x4000 |
Definition at line 45 of file audio.h.
Referenced by create_audio_system().
#define ADPCMFBYTES 9 |
Definition at line 47 of file audio.h.
Referenced by au_pull_voice(), au_syn_set_wavetable(), and au_syn_start_voice_params().
#define SND_MAX_VOLUME_8 0x7F |
Definition at line 49 of file audio.h.
Referenced by au_amb_resume(), and au_amb_set_volume().
#define BGM_SAMPLE_RATE 156250 |
Definition at line 52 of file audio.h.
Referenced by au_bgm_dispatch_player_event(), au_bgm_player_init(), au_bgm_player_update_stop(), and au_bgm_update_main().
#define BGM_DEFAULT_TEMPO 15600 |
Definition at line 53 of file audio.h.
Referenced by au_bgm_player_init(), and au_bgm_player_initialize().
#define SND_MIN_DURATION 250 |
Definition at line 55 of file audio.h.
Referenced by au_amb_fade_setup(), au_amb_resume(), au_amb_set_volume(), au_amb_stop_slow(), au_bgm_dispatch_player_event(), func_8004DB4C(), and func_8004DE2C().
#define SND_MAX_DURATION 10000 |
Definition at line 56 of file audio.h.
Referenced by au_amb_fade_setup(), au_bgm_dispatch_player_event(), func_8004DB4C(), and func_8004DE2C().
#define BGM_MAX_VOLUME 127 |
Definition at line 58 of file audio.h.
Referenced by func_8004DE2C().
#define BGM_SEGMENT_LABEL 3 |
Definition at line 60 of file audio.h.
Referenced by au_bgm_player_initialize().
typedef s8 UNK_TYPE_08 |
typedef s16 UNK_TYPE_16 |
typedef s32 UNK_TYPE_32 |
typedef void* UNK_TYPE_PTR |
typedef s32(* ALDMAproc2) (s32 addr, s32 len, void *state, u8 arg3) |
typedef ALDMAproc2(* ALDMANew2) (void *state) |
typedef Instrument* InstrumentGroup[16] |
enum AuPriority |
Enumerator | |
---|---|
AU_PRIORITY_FREE | |
AU_PRIORITY_BGM_PLAYER_MAIN | |
AU_PRIORITY_BGM_PLAYER_AUX | |
AU_PRIORITY_SFX_MANAGER | |
AU_PRIORITY_MSEQ_MANAGER |
Definition at line 64 of file audio.h.
enum AuVoiceEnvelopeFlags |
Enumerator | |
---|---|
AU_VOICE_ENV_FLAG_STOP | |
AU_VOICE_ENV_FLAG_HANDLED_VOL_CHANGE | |
AU_VOICE_ENV_FLAG_KEY_RELEASED | |
AU_VOICE_ENV_FLAG_VOL_CHANGED |
Definition at line 72 of file audio.h.
enum AuVoiceSyncFlags |
Enumerator | |
---|---|
AU_VOICE_SYNC_FLAG_ALL | |
AU_VOICE_SYNC_FLAG_PARAMS | |
AU_VOICE_SYNC_FLAG_PITCH | |
AU_VOICE_SYNC_FLAG_PAN_FXMIX |
Definition at line 79 of file audio.h.
enum AuEffectType |
Enumerator | |
---|---|
AU_FX_NONE | |
AU_FX_SMALLROOM | |
AU_FX_BIGROOM | |
AU_FX_CHORUS | |
AU_FX_FLANGE | |
AU_FX_ECHO | |
AU_FX_CUSTOM_0 | |
AU_FX_CUSTOM_1 | |
AU_FX_CUSTOM_2 | |
AU_FX_CUSTOM_3 | |
AU_FX_OTHER_BIGROOM |
Definition at line 86 of file audio.h.
enum BGMPlayerState |
Enumerator | |
---|---|
BGM_PLAY_STATE_IDLE | |
BGM_STATE_PLAY_SUBSEG | |
BGM_PLAY_STATE_NEXT_SUBSEG | |
BGM_PLAY_STATE_INIT | |
BGM_PLAY_STATE_STOP |
Definition at line 100 of file audio.h.
Enumerator | |
---|---|
BGM_SEGMENT_END | |
BGM_SEGMENT_SUBSEG | |
BGM_SEGMENT_START_LOOP | |
BGM_SEGMENT_WAIT | |
BGM_SEGMENT_END_LOOP | |
BGM_SEGMENT_6 | |
BGM_SEGMENT_7 |
Definition at line 108 of file audio.h.
enum FxBus |
Enumerator | |
---|---|
FX_BUS_BGMA_MAIN | |
FX_BUS_SOUND | |
FX_BUS_BGMB | |
FX_BUS_BGMA_AUX |
Definition at line 118 of file audio.h.
enum EnvelopeCommand |
Enumerator | |
---|---|
ENV_CMD_END_LOOP | |
ENV_CMD_START_LOOP | |
ENV_CMD_ADD_MULTIPLIER | |
ENV_CMD_SET_MULTIPLIER | |
ENV_CMD_END |
Definition at line 125 of file audio.h.
Definition at line 133 of file audio.h.
enum SoundPlayerState |
Enumerator | |
---|---|
SND_PLAYER_STATE_CONTINUE | |
SND_PLAYER_STATE_INIT |
enum SoundManagerState |
Enumerator | |
---|---|
SND_MANAGER_STATE_ENABLED | |
SND_MANAGER_STATE_DISABLED |
enum SoundInstanceFlags |
Enumerator | |
---|---|
SOUND_INSTANCE_FLAG_ACTIVE | |
SOUND_INSTANCE_FLAG_POSITION_CHANGED |
|
extern |
Definition at line 12 of file 25f00_len_940.c.
Referenced by au_pull_voice(), au_syn_get_volume_left(), au_syn_get_volume_right(), au_syn_set_fxmix(), au_syn_set_mixer_params(), au_syn_set_pan(), au_syn_set_pan_fxmix(), au_syn_set_volume_delta(), au_syn_start_voice_params(), and func_80056D5C().
|
extern |
Definition at line 61 of file sfx_player.c.
|
extern |
Definition at line 68 of file sfx_player.c.
|
extern |
Definition at line 84 of file sfx_player.c.
Referenced by au_sfx_init().
|
extern |
Definition at line 95 of file sfx_player.c.
Referenced by au_sfx_init().
|
extern |
Definition at line 113 of file sfx_player.c.
Referenced by au_sfx_init().
|
extern |
Definition at line 104 of file sfx_player.c.
Referenced by au_sfx_init().
|
extern |
Definition at line 294 of file sfx_player.c.
|
extern |
Definition at line 328 of file sfx_player.c.
|
extern |
Definition at line 341 of file sfx_player.c.
Referenced by au_update_voices(), and au_voice_start().
|
extern |
Definition at line 6 of file 30450.c.
Referenced by au_song_start(), au_song_start_variation(), au_update_clients_2(), func_80055050(), func_80055B28(), snd_set_song_fade(), and snd_set_song_variation_fade().
|
extern |
Definition at line 8 of file 30450.c.
Referenced by snd_ambient_80055760(), snd_ambient_play_only(), and snd_ambient_stop_all().
|
extern |
Definition at line 14 of file 31650.c.
Referenced by alAudioFrame(), au_driver_init(), au_driver_release(), au_fx_param_hdl(), and func_8005904C().
|
extern |
Definition at line 15 of file 31650.c.
Referenced by alAudioFrame(), au_bus_get_volume(), au_bus_set_effect(), au_bus_set_fx_params(), au_bus_set_volume(), au_driver_init(), au_engine_init(), au_load_BK_to_bank(), au_pvoice_set_bus(), au_syn_get_bus(), au_syn_get_dryamt(), au_syn_get_pan(), au_syn_get_pitch(), au_syn_get_playing(), au_syn_get_volume_left(), au_syn_get_volume_right(), au_syn_get_wetamt(), au_syn_set_fxmix(), au_syn_set_mixer_params(), au_syn_set_pan(), au_syn_set_pan_fxmix(), au_syn_set_pitch(), au_syn_set_volume_delta(), au_syn_set_wavetable(), au_syn_start_voice(), au_syn_start_voice_params(), au_syn_stop_voice(), and func_80054AA0().
|
extern |
Definition at line 16 of file 31650.c.
Referenced by alAudioFrame(), au_driver_init(), and au_use_global_volume().
|
extern |
Definition at line 17 of file 31650.c.
Referenced by alAudioFrame(), au_driver_init(), au_get_global_volume(), and au_set_global_volume().
|
extern |
Definition at line 18 of file 31650.c.
Referenced by alAudioFrame(), au_driver_init(), and func_80056D5C().
|
extern |
Definition at line 9 of file 2e230_len_2190.c.
Referenced by au_ambient_load(), au_engine_init(), au_fetch_SBN_file(), au_get_bgm_player_and_file(), au_get_BK_instruments(), au_load_song_files(), au_register_callback(), au_swizzle_BK_instruments(), au_update_clients_2(), au_update_players_main(), bgm_clear_music_events(), bgm_flush_music_events(), bgm_poll_music_events(), bgm_trigger_music_event(), func_80052E30(), func_80053E58(), func_80053F64(), func_80054C84(), func_80054DA8(), snd_load_BGM(), snd_load_BK(), and snd_song_get_playing_info().
|
extern |
Definition at line 7 of file 2e230_len_2190.c.
Referenced by au_engine_init().
|
extern |
Definition at line 6 of file 2e230_len_2190.c.
Referenced by au_bgm_get_player_with_song_name(), au_bgm_stop_all(), au_engine_init(), au_get_bgm_player(), au_get_bgm_player_and_file(), au_update_clients_2(), au_update_players_main(), func_80054248(), func_80054CE0(), func_8005513C(), and snd_song_get_playing_info().
|
extern |
Definition at line 10 of file 2e230_len_2190.c.
Referenced by au_amb_check_player_index(), au_amb_is_stopped(), au_amb_load_tracks_fade(), au_amb_pause(), au_amb_resume(), au_amb_set_disabled(), au_amb_set_volume(), au_amb_start(), au_amb_stop_quick(), au_amb_stop_slow(), au_ambient_load(), au_engine_init(), and au_update_clients_2().
|
extern |
Definition at line 8 of file 2e230_len_2190.c.
Referenced by au_engine_init(), au_update_clients_2(), au_update_players_main(), disable_sounds(), enable_sounds(), func_80054248(), func_80054CE0(), func_80054D74(), snd_adjust_sound(), snd_adjust_sound_with_shift(), snd_reset(), snd_start_sound(), snd_start_sound_raw(), snd_start_sound_with_shift(), and snd_stop_sound().
|
extern |
Definition at line 5 of file 2e230_len_2190.c.
Referenced by au_bgm_get_player_with_song_name(), au_bgm_stop_all(), au_engine_init(), au_get_bgm_player(), au_get_bgm_player_and_file(), au_update_clients_2(), au_update_players_main(), func_80054248(), func_80054CE0(), func_8005513C(), and snd_song_get_playing_info().