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

Fixing bug

parent 39b9ef19
......@@ -768,7 +768,7 @@ void CVABinauralArtificialReverbAudioRenderer::ProcessStream( const ITAStreamInf
pPath->UpdateMetrics();
// VDL delay
assert( m_dSpeedOfSound > 0 );
assert( m_pCore->oHomogeneousMedium.dSoundSpeed > 0 );
double dDelay = pPath->oRelations.dDistance / m_pCore->oHomogeneousMedium.dSoundSpeed;
pPath->pVariableDelayLine->SetDelayTime( float( dDelay ) );
......
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