Commit 685e4b66 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Fixing warning

parent bf84e6c4
......@@ -50,7 +50,7 @@ namespace ITABase
//! Returns the polynomial order
inline int Order() const { return iOrder; };
//! Returns the number of intervals (pieces) between break points
inline int NumIntervals() const { return vdBreakPoints.size() - 1; };
inline int NumIntervals() const { return int( vdBreakPoints.size() - 1 ); };
//! Returns the number of coefficients for a single polynomial
inline int NumCoefficients() const { return Order() + 1; };
//! Returns the break points defining the intervals for the polynomials
......
......@@ -47,6 +47,7 @@ bool CITASampleLinearInterpolation::Interpolate( const ITASampleBuffer* pInput,
{
// Calculate the position in the input buffer
float x_input = ( i + 1 ) * r + iInputStartOffset - 1;
assert( x_input >= 0.0f );
// Die Position des letzten Samples muss bereinstimmen mit dem letzten
// Eingabesample, dann wurde die Zeit erfolgreich eingeholt bzw.
......
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