fix 8-bit samples not loading correctly

This commit is contained in:
tildearrow 2022-02-25 00:31:09 -05:00
parent 35e459d9e5
commit bd96bf484b
2 changed files with 1 additions and 2 deletions

View file

@ -1141,7 +1141,6 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
} else {
samp_temp=s->data16[sPreview.pos++];
}
if (s->depth==8) samp_temp<<=8;
blip_add_delta(samp_bb,i,samp_temp-samp_prevSample);
samp_prevSample=samp_temp;