fix system fmt, part 3
This commit is contained in:
parent
98a6080ca1
commit
b83d8f3198
|
@ -207,7 +207,7 @@ DivDataErrors DivSample::readSampleData(SafeReader& reader, short version) {
|
||||||
|
|
||||||
// render data
|
// render data
|
||||||
if (depth!=DIV_SAMPLE_DEPTH_8BIT && depth!=DIV_SAMPLE_DEPTH_16BIT) {
|
if (depth!=DIV_SAMPLE_DEPTH_8BIT && depth!=DIV_SAMPLE_DEPTH_16BIT) {
|
||||||
logW("sample depth is wrong! (%d)",depth);
|
logW("sample depth is wrong! (%d)",(int)depth);
|
||||||
depth=DIV_SAMPLE_DEPTH_16BIT;
|
depth=DIV_SAMPLE_DEPTH_16BIT;
|
||||||
}
|
}
|
||||||
samples=(double)samples/samplePitchesSD[pitch];
|
samples=(double)samples/samplePitchesSD[pitch];
|
||||||
|
|
Loading…
Reference in a new issue