lmms_math: C++11 updates
This commit is contained in:
@@ -148,7 +148,7 @@ void MultitapEchoControls::lpSamplesChanged( int begin, int end )
|
||||
const float * samples = m_lpGraph.samples();
|
||||
for( int i = begin; i <= end; ++i )
|
||||
{
|
||||
m_effect->m_lpFreq[i] = 20.0f * exp10f( samples[i] );
|
||||
m_effect->m_lpFreq[i] = 20.0f * exp10( samples[i] );
|
||||
}
|
||||
m_effect->updateFilters( begin, end );
|
||||
}
|
||||
|
||||
@@ -1433,14 +1433,14 @@ void MonstroInstrument::updateSamplerate()
|
||||
void MonstroInstrument::updateSlope1()
|
||||
{
|
||||
const float slope = m_env1Slope.value();
|
||||
m_slope[0] = exp10f( slope * -1.0f );
|
||||
m_slope[0] = exp10( slope * -1.0f );
|
||||
}
|
||||
|
||||
|
||||
void MonstroInstrument::updateSlope2()
|
||||
{
|
||||
const float slope = m_env2Slope.value();
|
||||
m_slope[1] = exp10f( slope * -1.0f );
|
||||
m_slope[1] = exp10( slope * -1.0f );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user