Fixed last remaining audio bugs

This commit is contained in:
Nicholas Estelami 2022-06-13 21:54:25 -04:00
commit c5df54ae27
9 changed files with 61 additions and 33 deletions

View file

@ -461,8 +461,11 @@
<Sample Name="Person Whistling">
<Offset Version="MQDebug" At="0xF72A0"/>
</Sample>
<Sample Name="Ocarina">
<Offset Version="MQDebug" At="0xFAD40"/>
<Sample Name="Ocarina_Looped">
<Offset Version="MQDebug" At="0xFAD40" LoopOffset="0x1550"/>
</Sample>
<Sample Name="Ocarina_NoLooped">
<Offset Version="MQDebug" At="0xFAD40" LoopOffset="0x77C0"/>
</Sample>
<Sample Name="Accordion">
<Offset Version="MQDebug" At="0xFDFC0"/>

View file

@ -687,7 +687,6 @@ typedef struct {
union{
u32 opArgs;
struct {
// OTRTODO: struct members swapped for quick audio
u8 arg2;
u8 arg1;
u8 arg0;

View file

@ -66,7 +66,6 @@ ReverbSettings D_80133420[][3] = {
},
};
// OTRTODO
AudioSpec gAudioSpecs[18] = {
{ 44100, 1, 24, 4, 0, 0, 2, D_80133420[0], 0x300, 0x200, 0x7FFF, 0x7F0, 0xE00, 0, 0x4000, 0x2880, 0, 0, 0 },
{ 44100, 1, 24, 4, 0, 0, 2, D_80133420[1], 0x300, 0x200, 0x7FFF, 0x7F0, 0xE00, 0, 0x3800, 0x2880, 0, 0, 0 },

View file

@ -561,8 +561,8 @@ Acmd* AudioSynth_DoOneAudioUpdate(s16* aiBuf, s32 aiBufLen, Acmd* cmd, s32 updat
NoteSubEu* noteSubEu2;
s32 unk14;
if (aiBufLen == 0)
return;
//if (aiBufLen == 0)
//return;
t = gAudioContext.numNotes * updateIndex;
count = 0;