mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
Fixed last remaining audio bugs
This commit is contained in:
parent
c82df705a6
commit
c5df54ae27
9 changed files with 61 additions and 33 deletions
|
@ -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"/>
|
||||
|
|
|
@ -687,7 +687,6 @@ typedef struct {
|
|||
union{
|
||||
u32 opArgs;
|
||||
struct {
|
||||
// OTRTODO: struct members swapped for quick audio
|
||||
u8 arg2;
|
||||
u8 arg1;
|
||||
u8 arg0;
|
||||
|
|
|
@ -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 },
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue