4 bit pcm: requseted changes

This commit is contained in:
Eknous-P 2025-07-24 13:08:28 +04:00
parent 0426cf3a71
commit c9f3e95add
2 changed files with 5 additions and 4 deletions

View file

@ -93,7 +93,7 @@ void DivEngine::loadPPS(SafeReader& reader, std::vector<DivSample*>& ret, String
s->rate = PPS_SAMPLE_RATE;
s->centerRate = PPS_SAMPLE_RATE;
s->depth = DIV_SAMPLE_DEPTH_4BIT;
s->init(headers[i].sample_length*2); //byte per sample
s->init(headers[i].sample_length);
reader.seek((int)headers[i].start_pointer, SEEK_SET);