Repaired 'const' keyword usage

This commit is contained in:
oparviai 2009-01-11 11:34:24 +00:00
parent d9c9cbb7bd
commit 40efe9cbef
4 changed files with 4 additions and 4 deletions

View File

@ -220,7 +220,7 @@ void FIRFilter3DNow::setCoefficients(const float *coeffs, uint newLength, uint u
// 3DNow!-optimized version of the filter routine for stereo sound // 3DNow!-optimized version of the filter routine for stereo sound
uint FIRFilter3DNow::evaluateFilterStereo(float *dest, const float *src, const uint numSamples) const uint FIRFilter3DNow::evaluateFilterStereo(float *dest, const float *src, uint numSamples) const
{ {
float *filterCoeffsLocal = filterCoeffsAlign; float *filterCoeffsLocal = filterCoeffsAlign;
uint count = (numSamples - length) & (uint)-2; uint count = (numSamples - length) & (uint)-2;

View File

@ -86,7 +86,7 @@ void AAFilter::setCutoffFreq(double newCutoffFreq)
// Sets number of FIR filter taps // Sets number of FIR filter taps
void AAFilter::setLength(const uint newLength) void AAFilter::setLength(uint newLength)
{ {
length = newLength; length = newLength;
calculateCoeffs(); calculateCoeffs();

View File

@ -145,7 +145,7 @@ RateTransposer::~RateTransposer()
/// Enables/disables the anti-alias filter. Zero to disable, nonzero to enable /// Enables/disables the anti-alias filter. Zero to disable, nonzero to enable
void RateTransposer::enableAAFilter(const BOOL newMode) void RateTransposer::enableAAFilter(BOOL newMode)
{ {
bUseAAFilter = newMode; bUseAAFilter = newMode;
} }

View File

@ -247,7 +247,7 @@ void FIRFilterMMX::setCoefficients(const short *coeffs, uint newLength, uint uRe
// mmx-optimized version of the filter routine for stereo sound // mmx-optimized version of the filter routine for stereo sound
uint FIRFilterMMX::evaluateFilterStereo(short *dest, const short *src, const uint numSamples) const uint FIRFilterMMX::evaluateFilterStereo(short *dest, const short *src, uint numSamples) const
{ {
// Create stack copies of the needed member variables for asm routines : // Create stack copies of the needed member variables for asm routines :
uint i, j; uint i, j;