copy nibble and revert pps init length
pps sample length may be in bytes
This commit is contained in:
parent
c9f3e95add
commit
b6c49712d7
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
s->init(headers[i].sample_length*2); // bytes->samples
|
||||
|
||||
reader.seek((int)headers[i].start_pointer, SEEK_SET);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue