Fixing problem when reading wav files with correct sample rate over LoadWithSampleRateConversion

parent a613f10c
......@@ -48,8 +48,7 @@ void CITAAudioSample::LoadWithSampleRateConversion( const std::string& sFilePath
ITASampleFrame sfRaw;
sfRaw.Load( sFilePath, dSampleRate );
if( double( GetSampleRate() ) != dSampleRate )
Load(sfRaw, dSampleRate);
Load( sfRaw, GetSampleRate() );
void CITAAudioSample::Load( const CITAAudioSample& oSource )
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment