mirror of
https://github.com/HarbourMasters/Starship
synced 2026-08-31 10:10:48 -04:00
Docs update, added list of all SFX Ids used in the game. (#217)
* docs * format * format plz * stuff * more stuff * more names and such * torch update
This commit is contained in:
@@ -964,7 +964,6 @@ void Audio_ProcessSeqCmd(u32 seqCmd) {
|
||||
val = seqCmd & 0xFF;
|
||||
ioPort = ((seqCmd & 0xFF0000) >> 0x10); // may be misnamed
|
||||
AUDIOCMD_SEQPLAYER_SET_IO(seqPlayId, ioPort, val);
|
||||
// AudioThread_QueueCmdS8(((seqPlayId & 0xFF) << 0x10) | 0x46000000 | (temp3 << 8), temp4);
|
||||
break;
|
||||
case SEQCMD_OP_SET_CHANNEL_IO:
|
||||
val = seqCmd & 0xFF;
|
||||
@@ -973,8 +972,6 @@ void Audio_ProcessSeqCmd(u32 seqCmd) {
|
||||
ioPort = (seqCmd & 0xFF0000) >> 0x10;
|
||||
if (!(sActiveSequences[seqPlayId].channelPortMask & (1 << channel))) {
|
||||
AUDIOCMD_CHANNEL_SET_IO(seqPlayId, (u32) channel, ioPort, val);
|
||||
// AudioThread_QueueCmdS8(((seqPlayId & 0xFF) << 0x10) | 0x06000000 | ((temp_a2_5 & 0xFF) << 8) | temp3,
|
||||
// temp4);
|
||||
}
|
||||
break;
|
||||
case SEQCMD_OP_SET_CHANNEL_IO_DISABLE_MASK:
|
||||
@@ -1012,7 +1009,6 @@ void Audio_ProcessSeqCmd(u32 seqCmd) {
|
||||
switch (subOp) {
|
||||
case SEQCMD_SUB_OP_GLOBAL_SET_SOUND_MODE:
|
||||
AUDIOCMD_GLOBAL_SET_SOUND_MODE(sSoundModeList[val]);
|
||||
// AudioThread_QueueCmdS32(0xF0000000, sSoundModeList[temp11]);
|
||||
break;
|
||||
case SEQCMD_SUB_OP_GLOBAL_DISABLE_NEW_SEQUENCES:
|
||||
sStartSeqDisabled = val & 1;
|
||||
|
||||
@@ -29,10 +29,8 @@ s32 PAD_80146D88[2];
|
||||
AudioSlowLoadBuffer gSlowLoads;
|
||||
|
||||
s32 AudioLoad_DiscardFont(s32 fontId);
|
||||
|
||||
void AudioLoad_SyncInitSeqPlayerInternal(s32 playerIdx, s32 seqId, s32 arg2);
|
||||
void* AudioLoad_SyncLoadSeq(s32 seqId);
|
||||
void* AudioLoad_SyncLoadSampleBank(u32 sampleBankId, s32* outMedium);
|
||||
void* AudioLoad_SyncLoadFont(s32 fontId);
|
||||
void* AudioLoad_SyncLoad(u32 tableType, u32 id, s32* didAllocate);
|
||||
s32 AudioLoad_GetLoadTableIndex(s32 tableType, u32 entryId);
|
||||
@@ -44,9 +42,7 @@ s32 AudioLoad_Dma(OSIoMesg* mesg, u32 priority, s32 direction, u32 devAddr, void
|
||||
OSMesgQueue* retQueue, s32 medium, const char* dmaType);
|
||||
s32 func_8000FC7C(u32 unkMediumParam, u32* addrPtr);
|
||||
void func_8000FC8C(s32 unkParam2, u32 addr, u8* ramAddr, u32 size);
|
||||
void AudioLoad_SyncLoadSimple(u32 tableType, u32 id);
|
||||
void* AudioLoad_AsyncLoadInner(s32 tableType, s32 id, s32 nChunks, s32 retData, OSMesgQueue* retQueue);
|
||||
|
||||
Sample* AudioLoad_GetFontSample(s32 fontId, s32 instId);
|
||||
void AudioLoad_ProcessSlowLoads(s32 resetStatus);
|
||||
void AudioLoad_DmaSlowCopy(AudioSlowLoad* slowLoad, s32 size);
|
||||
@@ -60,7 +56,6 @@ void AudioLoad_AsyncDmaUnkMedium(u32 devAddr, u8* ramAddr, u32 size, s32 unkMedi
|
||||
void AudioLoad_RelocateSample(TunedSample* tSample, u32 fontDataAddr, SampleBankRelocInfo* relocInfo);
|
||||
s32 AudioLoad_RelocateFontAndPreloadSamples(s32 fontId, u32 fontDataAddr, SampleBankRelocInfo* relocData, s32 isAsync);
|
||||
s32 AudioLoad_ProcessSamplePreloads(s32 resetStatus);
|
||||
s32 AudioLoad_GetSamplesForFont(s32 fontId, Sample** sampleSet);
|
||||
|
||||
void AudioLoad_DecreaseSampleDmaTtls(void) {
|
||||
SampleDma* dma;
|
||||
|
||||
Reference in New Issue
Block a user