Aufgrund einer Wartung wird GitLab am 19.10. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 19.10. between 8:00 and 9:00 am.

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 )
......
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