Adding missing const for interpolation routine methods

parent 7a4adcbb
......@@ -10,7 +10,7 @@ void spline_cubic_set_equidistant( const int n, const float* y, float* ypp );
// Evaluate cubic spline interpolation point using only base values (y) and second derivatives (ypp) for equidistant data
float spline_cubic_val_equidistant( const int n, const float fX, const float* y, const float* ypp );
bool CITAVDLLinearInterpolation::Interpolate( const ITASampleBuffer* pInput, int iInputLength, int iInputStartOffset, ITASampleBuffer* pOutput, int iOutputLength, int iOutputOffset /*=0*/ ) const
bool CITAVDLLinearInterpolation::Interpolate( const ITASampleBuffer* pInput, const int iInputLength, const int iInputStartOffset, ITASampleBuffer* pOutput, const int iOutputLength, const int iOutputOffset /*=0*/ ) const
{
assert( pOutput->length() >= iOutputLength + iOutputOffset );
......@@ -138,7 +138,7 @@ bool CITAVDLLinearInterpolation::Interpolate( const ITASampleBuffer* pInput, int
return false;
}
bool CITAVDLCubicSplineInterpolation::Interpolate( const ITASampleBuffer* pInput, int iInputLength, int iInputStartOffset, ITASampleBuffer* pOutput, int iOutputLength, int iOutputOffset /*=0*/ ) const
bool CITAVDLCubicSplineInterpolation::Interpolate( const ITASampleBuffer* pInput, const int iInputLength, const int iInputStartOffset, ITASampleBuffer* pOutput, const int iOutputLength, const int iOutputOffset /*=0*/ ) const
{
// Eingabe validieren
assert( iInputStartOffset >= 2 );
......@@ -182,7 +182,7 @@ bool CITAVDLCubicSplineInterpolation::Interpolate( const ITASampleBuffer* pInput
return true;
}
bool CITAVDLWindowedSincInterpolation::Interpolate( const ITASampleBuffer* pInput, int iInputLength, int iInputStartOffset, ITASampleBuffer* pOutput, int iOutputLength, int iOutputOffset /*=0*/ ) const
bool CITAVDLWindowedSincInterpolation::Interpolate( const ITASampleBuffer* pInput, const int iInputLength, const int iInputStartOffset, ITASampleBuffer* pOutput, const int iOutputLength, const int iOutputOffset /*=0*/ ) const
{
// Eingabe validieren
assert( iInputStartOffset >= m_iWindowSize / 2 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment