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

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

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