Commit c84b6705 authored by Jonas Stienen's avatar Jonas Stienen
Browse files

Little fix for windows-style std::min usage. should still work with gcc.

parent 365c27e0
......@@ -979,11 +979,11 @@ CVABinauralArtificialReverbAudioRenderer::Listener* CVABinauralArtificialReverbA
pListener->pConvolverL = new DSMBCConvolver( GetBlocklength(), m_iMaxReverbFilterLengthSamples );
pListener->pConvolverL->setFilterExchangeMode(DSMBCConvolver::CROSSFADE_COSINE_SQUARE);
pListener->pConvolverL->setFilterCrossfadeLength( std::min( int( GetBlocklength() ), 32 ) );
pListener->pConvolverL->setFilterCrossfadeLength( (std::min)( int( GetBlocklength() ), 32 ) );
pListener->pConvolverR = new DSMBCConvolver( GetBlocklength(), m_iMaxReverbFilterLengthSamples );
pListener->pConvolverR->setFilterExchangeMode(DSMBCConvolver::CROSSFADE_COSINE_SQUARE);
pListener->pConvolverR->setFilterCrossfadeLength( std::min( int( GetBlocklength() ), 32 ) );
pListener->pConvolverR->setFilterCrossfadeLength( (std::min)( int( GetBlocklength() ), 32 ) );
assert( pListener->pData );
pListener->bDeleted = false;
......
Supports Markdown
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