2 Commits

2 changed files with 2 additions and 2 deletions

View File

@@ -718,7 +718,7 @@ void AudioGroupSampleDirectory::_extractCompressed(SampleId id, const EntryData&
#endif
uint32_t numSamples = ent.getNumSamples();
atUint64 dataLen;
atUint64 dataLen = 0;
if (fmt == SampleFormat::DSP || fmt == SampleFormat::DSP_DRUM) {
DSPADPCMHeader header;
header.x0_num_samples = numSamples;

View File

@@ -186,7 +186,7 @@ static T ApplyVolume(float vol, T samp) {
}
void Voice::_procSamplePre(int16_t& samp) {
double dt;
double dt = 0.0;
/* Block linearized will use a larger `dt` for amplitude sampling;
* significantly reducing the processing expense */