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

Fixing WAV exporter in HDFTSpectra

parent d21288ec
......@@ -100,7 +100,7 @@ void ITAHDFTSpectra::Export( const std::string& sFilePath, bool bNormalize/*=fal
if( getFilenameSuffix( sFilePath ).empty() )
sFilePathComplete += ".wav";
writeAudiofile( correctPath( sFilePathComplete ), &sfTargetData, ITA_FLOAT );
writeAudiofile( correctPath( sFilePathComplete ), &sfTargetData, GetSampleRate(), ITAQuantization::ITA_FLOAT );
return;
}
......
......@@ -55,7 +55,7 @@ void ITANCTCStreamFilter::SetInputDatasource( ITADatasource* pdsInput )
{
if( pdsInput )
{
if( pdsInput->GetSamplerate() != oConfig.dSampleRate )
if( pdsInput->GetSampleRate() != oConfig.dSampleRate )
ITA_EXCEPT1(INVALID_PARAMETER, "Datasource has different samplerate");
if( pdsInput->GetNumberOfChannels() != 2 )
......
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