Applying renaming of DIR->SD source directivity for some internal variables (style)

parent c4566f8e
......@@ -161,7 +161,7 @@ public:
pFIRConvolverChR->clear();
};
void UpdateDir( bool bDIRAuraModeEnabled );
void UpdateSourceDirectivity( bool bDIRAuraModeEnabled );
void UpdateMediumPropagation( double dSpeedOfSound, double dAdditionalDelaySeconds = 0.0f );
double CalculateInverseDistanceDecrease( const double dMinimumDistance ) const;
void UpdateHRIR( const CVAReceiverState::CVAAnthropometricParameter&, const double dHATODeg );
......@@ -729,11 +729,11 @@ void CVABinauralFreeFieldAudioRenderer::ProcessStream( const ITAStreamInfo* pStr
if( bSSLEnabled == false )
dDistanceDecrease = m_pCore->GetCoreConfig()->dDefaultDistance;
bool bDIREnabledSource = ( pSourceState->GetAuralizationMode() & IVAInterface::VA_AURAMODE_SOURCE_DIRECTIVITY ) > 0;
bool bDIREnabledListener = ( pListenerState->GetAuralizationMode() & IVAInterface::VA_AURAMODE_SOURCE_DIRECTIVITY ) > 0;
bool bDIREnabledGlobal = ( m_iCurGlobalAuralizationMode & IVAInterface::VA_AURAMODE_SOURCE_DIRECTIVITY ) > 0;
bool bDIREnabled = ( bDIREnabledSource && bDIREnabledListener && bDIREnabledGlobal );
pPath->UpdateDir( bDIREnabled );
bool bSDEnabledSource = ( pSourceState->GetAuralizationMode() & IVAInterface::VA_AURAMODE_SOURCE_DIRECTIVITY ) > 0;
bool bSDEnabledListener = ( pListenerState->GetAuralizationMode() & IVAInterface::VA_AURAMODE_SOURCE_DIRECTIVITY ) > 0;
bool bSDEnabledGlobal = ( m_iCurGlobalAuralizationMode & IVAInterface::VA_AURAMODE_SOURCE_DIRECTIVITY ) > 0;
bool bSDEnabled = ( bSDEnabledSource && bSDEnabledListener && bSDEnabledGlobal );
pPath->UpdateSourceDirectivity( bSDEnabled );
// HATO
const VistaQuaternion qHATO( pListenerState->GetMotionState()->GetHeadAboveTorsoOrientation().comp );
......@@ -1198,9 +1198,9 @@ void CVABFFSoundPath::UpdateMetrics()
}
void CVABFFSoundPath::UpdateDir( bool bDIRAuraModeEnabled )
void CVABFFSoundPath::UpdateSourceDirectivity( bool bSDAuraModeEnabled )
{
if( bDIRAuraModeEnabled == true )
if( bSDAuraModeEnabled == true )
{
CVADirectivityDAFFEnergetic* pDirectivityDataNew = ( CVADirectivityDAFFEnergetic* ) oDirectivityStateNew.pData;
CVADirectivityDAFFEnergetic* pDirectivityDataCur = ( CVADirectivityDAFFEnergetic* ) oDirectivityStateCur.pData;
......
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