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

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 )
Supports Markdown
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