Minor renaming of sample rate vars.

parent 5f5744c1
......@@ -63,12 +63,12 @@ void writeAudiofile( const std::string& sFilePath, const ITAAudiofileProperties&
writeAudiofile( sFilePath, props, reinterpret_cast< std::vector<const float*>& >( vpfSource ) );
}
void writeAudiofile( std::string sFilename, const float* pfData, unsigned int uiLength, double dSamplerate, ITAQuantization eQuantization )
void writeAudiofile( std::string sFilename, const float* pfData, unsigned int uiLength, double dSampleRate, ITAQuantization eQuantization )
{
ITAAudiofileProperties props;
props.iChannels = 1;
props.iLength = uiLength;
props.dSampleRate = dSamplerate;
props.dSampleRate = dSampleRate;
props.eDomain = ITADomain::ITA_TIME_DOMAIN;
props.eQuantization = eQuantization;
props.sComment = "";
......@@ -87,12 +87,12 @@ void writeAudiofile( std::string sFilename, const float* pfData, unsigned int ui
delete writer;
}
void writeAudiofile( const std::string& sFilePath, const float* pfDataCh0, const float* pfDataCh1, int iLength, double dSamplerate, ITAQuantization eQuantization )
void writeAudiofile( const std::string& sFilePath, const float* pfDataCh0, const float* pfDataCh1, int iLength, double dSampleRate, ITAQuantization eQuantization )
{
ITAAudiofileProperties props;
props.iChannels = 2;
props.iLength = iLength;
props.dSampleRate = dSamplerate;
props.dSampleRate = dSampleRate;
props.eDomain = ITADomain::ITA_TIME_DOMAIN;
props.eQuantization = eQuantization;
props.sComment = "";
......@@ -113,12 +113,12 @@ void writeAudiofile( const std::string& sFilePath, const float* pfDataCh0, const
delete writer;
}
void writeAudiofile( const std::string& sFilePath, const ITASampleBuffer* psbData, double dSamplerate, ITAQuantization eQuantization )
void writeAudiofile( const std::string& sFilePath, const ITASampleBuffer* psbData, double dSampleRate, ITAQuantization eQuantization )
{
ITAAudiofileProperties props;
props.iChannels = 1;
props.iLength = ( unsigned int ) psbData->GetLength();
props.dSampleRate = dSamplerate;
props.dSampleRate = dSampleRate;
props.eDomain = ITADomain::ITA_TIME_DOMAIN;
props.eQuantization = eQuantization;
props.sComment = "";
......@@ -139,12 +139,12 @@ void writeAudiofile( const std::string& sFilePath, const ITASampleBuffer* psbDat
delete writer;
}
void writeAudiofile( const std::string& sFilePath, const ITASampleFrame* psfData, double dSamplerate, ITAQuantization eQuantization )
void writeAudiofile( const std::string& sFilePath, const ITASampleFrame* psfData, double dSampleRate, ITAQuantization eQuantization )
{
ITAAudiofileProperties props;
props.iChannels = ( unsigned int ) psfData->channels();
props.iLength = ( unsigned int ) psfData->length();
props.dSampleRate = dSamplerate;
props.dSampleRate = dSampleRate;
props.eDomain = ITADomain::ITA_TIME_DOMAIN;
props.eQuantization = eQuantization;
props.sComment = "";
......
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