Commit 6639cade authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Style

parent ebd73955
...@@ -136,9 +136,8 @@ void ITAStreamFunctionGenerator::ProcessStream( const ITAStreamInfo* ) ...@@ -136,9 +136,8 @@ void ITAStreamFunctionGenerator::ProcessStream( const ITAStreamInfo* )
iNumSamples = m_bPeriodic ? ( int ) m_uiBlocklength : ( std::min )( ( int ) m_uiBlocklength, m_iPeriodLengthSamples - m_iSampleCount ); iNumSamples = m_bPeriodic ? ( int ) m_uiBlocklength : ( std::min )( ( int ) m_uiBlocklength, m_iPeriodLengthSamples - m_iSampleCount );
for( int i = 0; i < iNumSamples; i++ ) { for( int i = 0; i < iNumSamples; i++ )
pfOutputData[ i ] = a * sin( omega*i + m_fPhase ); pfOutputData[ i ] = a * sin( omega*i + m_fPhase );
}
m_fPhase = fmodf( iNumSamples*omega + m_fPhase, ITAConstants::TWO_PI_F ); m_fPhase = fmodf( iNumSamples*omega + m_fPhase, ITAConstants::TWO_PI_F );
......
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