Commit 1430c308 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Change name of bool for replacement filter - WIP

parent 3b2b26cc
......@@ -72,7 +72,7 @@ namespace ITA
auto config = VistaPropertyList ( );
auto subConfig = VistaPropertyList ( );
subConfig.SetValue ( "FilterUpdates", true );
subConfig.SetValue ( "ReplaceUpdates", true );
config.SetPropertyListValue ( "MasterSimulationScheduler", subConfig );
......@@ -191,7 +191,7 @@ namespace ITA
///
/// \brief True if the controller should filter its received updates using filterReplace().
///
bool m_bFilterUpdates;
bool m_bReplaceUpdates;
///
/// \brief The scheduler for the direct sound of the RIR.
......
......@@ -26,7 +26,7 @@ namespace ITA
{
if ( pConfig.HasSubList ( "MasterSimulationScheduler" ) )
{
m_bFilterUpdates = pConfig.GetValueInSubListOrDefault ( "FilterUpdates", "MasterSimulationScheduler", true );
m_bReplaceUpdates = pConfig.GetValueInSubListOrDefault ( "ReplaceUpdates", "MasterSimulationScheduler", true );
if ( pConfig.HasSubList ( "MasterSimulationScheduler/DSScheduler" ) )
{
......@@ -146,7 +146,7 @@ namespace ITA
m_lUpdateList.push_back ( std::move ( updateMessage ) );
}
if ( m_bFilterUpdates )
if ( m_bReplaceUpdates )
filterReplace ( );
for ( auto& update : m_lUpdateList )
......
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