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

Fixing new enums in benchmarks

parent f2f4e197
......@@ -79,7 +79,7 @@ struct ParameterSet
INIFileWriteInt( "NumCursors", iNumCursors );
INIFileWriteInt( "NumFrames", iNumFrames );
INIFileWriteString( "WAVOutFilePath", sWAVOutFilePath );
INIFileWriteString( "InterpolationType", ( iInterpolationType == CITASIMOVariableDelayLine::CUBIC_SPLINE_INTERPOLATION ) ? "cubicspline" : "linear" );
INIFileWriteString( "InterpolationType", ( iInterpolationType == ITABase::InterpolationFunctions::CUBIC_SPLINE ) ? "cubicspline" : "linear" );
INIFileWriteDouble( "BlockTimeSeconds", iBlockLength / dSampleRate );
INIFileWriteString( "BlockTime", timeToString( iBlockLength / dSampleRate ) );
};
......@@ -100,12 +100,12 @@ int main( int, char** )
{
for( auto SI : { 1, 2, 4, 8, 16, 32, 64, 128 } )
{
for( auto IT : { CITASIMOVariableDelayLine::CUBIC_SPLINE_INTERPOLATION, CITASIMOVariableDelayLine::LINEAR_INTERPOLATION } )
for( auto IT : { ITABase::InterpolationFunctions::CUBIC_SPLINE, ITABase::InterpolationFunctions::LINEAR } )
{
if( BL < SI * 2 )
continue;
string sInterp = ( IT == CITASIMOVariableDelayLine::CUBIC_SPLINE_INTERPOLATION ) ? "cubicspline" : "linear";
string sInterp = ( IT == ITABase::InterpolationFunctions::CUBIC_SPLINE ) ? "cubicspline" : "linear";
// Streach
stringstream ss;
......
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