Avoid a couple of picky compiler warnings
This commit is contained in:
@@ -86,8 +86,8 @@ PercussiveAudioCurve::processFloat(const float *R__ mag, int increment)
|
||||
double
|
||||
PercussiveAudioCurve::processDouble(const double *R__ mag, int increment)
|
||||
{
|
||||
static double threshold = powf(10., 0.15); // 3dB rise in square of magnitude
|
||||
static double zeroThresh = powf(10., -8);
|
||||
static double threshold = pow(10., 0.15); // 3dB rise in square of magnitude
|
||||
static double zeroThresh = pow(10., -8);
|
||||
|
||||
int count = 0;
|
||||
int nonZeroCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user