mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-14 19:10:02 +01:00
Added typecast to pow()
This commit is contained in:
parent
40efe9cbef
commit
9aaf4210af
@ -787,7 +787,7 @@ void TDStretch::calculateOverlapLength(int overlapMs)
|
||||
overlapDividerBits = _getClosest2Power((sampleRate * overlapMs) / 1000.0);
|
||||
if (overlapDividerBits > 9) overlapDividerBits = 9;
|
||||
if (overlapDividerBits < 4) overlapDividerBits = 4;
|
||||
newOvl = (int)pow(2, overlapDividerBits);
|
||||
newOvl = (int)pow(2, (double) overlapDividerBits);
|
||||
|
||||
acceptNewOverlapLength(newOvl);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user