mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 09:22:18 -05:00
Fixed crackling issues
This commit is contained in:
parent
83aee6d7e1
commit
3e1cb17e22
@ -1339,13 +1339,13 @@
|
||||
<Sample Name="Koto" SampleRate="28508">
|
||||
<Offset Version="MQDebug" At="0x3926D0"/>
|
||||
</Sample>
|
||||
<Sample Name="Some Manner of Drum?" SampleRate="32000">
|
||||
<Sample Name="Some Manner of Drum" SampleRate="32000">
|
||||
<Offset Version="MQDebug" At="0x396F80"/>
|
||||
</Sample>
|
||||
<Sample Name="Another Type of Drum?" SampleRate="32000">
|
||||
<Sample Name="Another Type of Drum" SampleRate="32000">
|
||||
<Offset Version="MQDebug" At="0x397FA0"/>
|
||||
</Sample>
|
||||
<Sample Name="Quick Drum?" SampleRate="32000">
|
||||
<Sample Name="Quick Drum" SampleRate="32000">
|
||||
<Offset Version="MQDebug" At="0x399790"/>
|
||||
</Sample>
|
||||
<Sample Name="Gong" SampleRate="32000">
|
||||
@ -1435,13 +1435,13 @@
|
||||
<Sample Name="Low Rumbling">
|
||||
<Offset Version="MQDebug" At="0"/>
|
||||
</Sample>
|
||||
<Sample Name="Drum Sidestick?">
|
||||
<Sample Name="Drum Sidestick">
|
||||
<Offset Version="MQDebug" At="0xA590"/>
|
||||
</Sample>
|
||||
<Sample Name="Low Drum?">
|
||||
<Sample Name="Low Drum">
|
||||
<Offset Version="MQDebug" At="0x8BC0"/>
|
||||
</Sample>
|
||||
<Sample Name="Sweep Pad?">
|
||||
<Sample Name="Sweep Pad">
|
||||
<Offset Version="MQDebug" At="0xB3B0"/>
|
||||
</Sample>
|
||||
<Sample Name="Organic Gurgling">
|
||||
@ -1470,7 +1470,7 @@
|
||||
<Sample Name="Goron Drum">
|
||||
<Offset Version="MQDebug" At="0"/>
|
||||
</Sample>
|
||||
<Sample Name="Bass Slap?">
|
||||
<Sample Name="Bass Slap">
|
||||
<Offset Version="MQDebug" At="0x2540"/>
|
||||
</Sample>
|
||||
<Sample Name="Goron Ooh">
|
||||
@ -1503,7 +1503,7 @@
|
||||
<Sample Name="Gong">
|
||||
<Offset Version="MQDebug" At="0x12EB0"/>
|
||||
</Sample>
|
||||
<Sample Name="Bass Slap?">
|
||||
<Sample Name="Bass Slap">
|
||||
<Offset Version="MQDebug" At="0x1D3E0"/>
|
||||
</Sample>
|
||||
<Sample Name="Windchimes">
|
||||
|
@ -683,6 +683,9 @@ extern "C" SoundFontSample* ResourceMgr_LoadAudioSample(const char* path)
|
||||
sampleC->loop->end = sample->loop.end;
|
||||
sampleC->loop->count = sample->loop.count;
|
||||
|
||||
for (int i = 0; i < 16; i++)
|
||||
sampleC->loop->state[i] = 0;
|
||||
|
||||
for (int i = 0; i < sample->loop.states.size(); i++)
|
||||
sampleC->loop->state[i] = sample->loop.states[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user