Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
13 lines
506 B
C++
13 lines
506 B
C++
--- utilities/decimator.cpp.orig
|
|
+++ utilities/decimator.cpp
|
|
@@ -67,8 +67,8 @@ bool downDecimator::doDecimate (DSPFLOAT
|
|
*/
|
|
this -> inSamplerate = inSamplerate;
|
|
this -> outSamplerate = outSamplerate;
|
|
- inperiod = (int64_t)(100000000000) / inSamplerate;
|
|
- outperiod = (int64_t)(100000000000) / outSamplerate;
|
|
+ inperiod = (int64_t)(100000000000LL) / inSamplerate;
|
|
+ outperiod = (int64_t)(100000000000LL) / outSamplerate;
|
|
oldinsampleTime = 0;
|
|
currentinsampleTime = 0;
|
|
oldinsampleValue = 0;
|