Avoid some compiler warnings
This commit is contained in:
@@ -42,7 +42,7 @@ HighFrequencyAudioCurve::reset()
|
||||
}
|
||||
|
||||
float
|
||||
HighFrequencyAudioCurve::processFloat(const float *R__ mag, int increment)
|
||||
HighFrequencyAudioCurve::processFloat(const float *R__ mag, int)
|
||||
{
|
||||
float result = 0.0;
|
||||
|
||||
@@ -56,7 +56,7 @@ HighFrequencyAudioCurve::processFloat(const float *R__ mag, int increment)
|
||||
}
|
||||
|
||||
double
|
||||
HighFrequencyAudioCurve::processDouble(const double *R__ mag, int increment)
|
||||
HighFrequencyAudioCurve::processDouble(const double *R__ mag, int)
|
||||
{
|
||||
float result = 0.0;
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ PercussiveAudioCurve::setFftSize(int newSize)
|
||||
}
|
||||
|
||||
float
|
||||
PercussiveAudioCurve::processFloat(const float *R__ mag, int increment)
|
||||
PercussiveAudioCurve::processFloat(const float *R__ mag, int)
|
||||
{
|
||||
static float threshold = powf(10.f, 0.15f); // 3dB rise in square of magnitude
|
||||
static float zeroThresh = powf(10.f, -8);
|
||||
@@ -84,7 +84,7 @@ PercussiveAudioCurve::processFloat(const float *R__ mag, int increment)
|
||||
}
|
||||
|
||||
double
|
||||
PercussiveAudioCurve::processDouble(const double *R__ mag, int increment)
|
||||
PercussiveAudioCurve::processDouble(const double *R__ mag, int)
|
||||
{
|
||||
static double threshold = pow(10., 0.15); // 3dB rise in square of magnitude
|
||||
static double zeroThresh = pow(10., -8);
|
||||
|
||||
@@ -62,7 +62,7 @@ SpectralDifferenceAudioCurve::setFftSize(int newSize)
|
||||
}
|
||||
|
||||
float
|
||||
SpectralDifferenceAudioCurve::processFloat(const float *R__ mag, int increment)
|
||||
SpectralDifferenceAudioCurve::processFloat(const float *R__ mag, int)
|
||||
{
|
||||
double result = 0.0;
|
||||
|
||||
@@ -83,7 +83,7 @@ SpectralDifferenceAudioCurve::processFloat(const float *R__ mag, int increment)
|
||||
}
|
||||
|
||||
double
|
||||
SpectralDifferenceAudioCurve::processDouble(const double *R__ mag, int increment)
|
||||
SpectralDifferenceAudioCurve::processDouble(const double *R__ mag, int)
|
||||
{
|
||||
double result = 0.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user