Applying ITABase mode naming refactoring

parent 1414961c
......@@ -27,12 +27,12 @@ ITANCTCStreamFilter::ITANCTCStreamFilter( const ITANCTCStreamFilter::Config& oC
for( int n=0; n<oConfig.N; n++ )
{
ITAUPConvolution* pConvolverL = new ITAUPConvolution( oConfig.iBlockLength, oConfig.iFilterLength, m_pFilterPool );
pConvolverL->SetFilterExchangeMode( oConfig.iFilterExchangeMode );
pConvolverL->SetFilterExchangeFadingFunction( oConfig.iFilterExchangeMode );
pConvolverL->SetFilterCrossfadeLength( oConfig.iFilterCrossfadeLength );
m_vpConvolvers.push_back( pConvolverL );
ITAUPConvolution* pConvolverR = new ITAUPConvolution( oConfig.iBlockLength, oConfig.iFilterLength, m_pFilterPool );
pConvolverR->SetFilterExchangeMode( oConfig.iFilterExchangeMode );
pConvolverR->SetFilterExchangeFadingFunction( oConfig.iFilterExchangeMode );
pConvolverR->SetFilterCrossfadeLength( oConfig.iFilterCrossfadeLength );
m_vpConvolvers.push_back( pConvolverR );
}
......@@ -162,8 +162,8 @@ void ITANCTCStreamFilter::HandleProcessStream( ITADatasourceRealization*, const
ITAUPConvolution* pConvolverL( m_vpConvolvers[iIdxLeft] );
ITAUPConvolution* pConvolverR( m_vpConvolvers[iIdxRight] );
pConvolverL->Process( pfInputDataCh0, oConfig.iBlockLength, pfOutputData, oConfig.iBlockLength, ITAUPConvolution::OUTPUT_OVERWRITE );
pConvolverR->Process( pfInputDataCh1, oConfig.iBlockLength, pfOutputData, oConfig.iBlockLength, ITAUPConvolution::OUTPUT_MIX );
pConvolverL->Process( pfInputDataCh0, oConfig.iBlockLength, pfOutputData, oConfig.iBlockLength, ITABase::MixingMethod::OVERWRITE );
pConvolverR->Process( pfInputDataCh1, oConfig.iBlockLength, pfOutputData, oConfig.iBlockLength, ITABase::MixingMethod::ADD );
}
// Increment write pointer on output stream
......
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