Renaming key for module calls / parameter calls

parent 6c320a13
......@@ -1355,14 +1355,14 @@ CVAStruct CVABinauralFreeFieldAudioRenderer::CallObject( const CVAStruct& oArgs
CVAStruct oReturn;
const CVAStructValue* pStruct;
if( ( pStruct = oArgs.GetValue( "AdditionalDelaySeconds" ) ) != nullptr )
if( ( pStruct = oArgs.GetValue( "AdditionalStaticDelaySeconds" ) ) != nullptr )
{
if( pStruct->GetDatatype() != CVAStructValue::DOUBLE )
VA_EXCEPT2( INVALID_PARAMETER, "Additional delay must be a double" );
oReturn[ "CurrentAdditionalDelaySeconds" ] = m_dAdditionalStaticDelaySeconds;
oReturn[ "CurrentAdditionalStaticDelaySeconds" ] = m_dAdditionalStaticDelaySeconds;
m_dAdditionalStaticDelaySeconds = *pStruct;
oReturn[ "NewAdditionalDelaySeconds" ] = m_dAdditionalStaticDelaySeconds;
oReturn[ "NewAdditionalStaticDelaySeconds" ] = m_dAdditionalStaticDelaySeconds;
return oReturn;
}
......
......@@ -260,7 +260,7 @@ CVAStruct CVANCTCReproduction::CallObject( const CVAStruct& oArgs )
return oReturn;
}
if( ( pStruct = oArgs.GetValue( "add_delay_time" ) ) != nullptr )
if( ( pStruct = oArgs.GetValue( "AdditionalDelayTime" ) ) != nullptr )
{
if( pStruct->GetDatatype() != CVAStructValue::DATA )
VA_EXCEPT2( INVALID_PARAMETER, "Delay must be a vector of numeric values" );
......
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