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

Searching for HP equalization filter file now

parent bdedbdb9
...@@ -83,9 +83,9 @@ CVAHeadphonesReproduction::CVAHeadphonesReproduction( const CVAAudioReproduction ...@@ -83,9 +83,9 @@ CVAHeadphonesReproduction::CVAHeadphonesReproduction( const CVAAudioReproduction
std::string sFilePathRaw; std::string sFilePathRaw;
conf.ReqString( "HpIRInvFile", sFilePathRaw ); conf.ReqString( "HpIRInvFile", sFilePathRaw );
std::string sFilePath = m_oParams.pCore->GetCoreConfig()->mMacros.SubstituteMacros( sFilePathRaw ); std::string sFilePath = m_oParams.pCore->GetCoreConfig()->mMacros.SubstituteMacros( sFilePathRaw ); ;
m_sfHpIRInv.Load( sFilePath ); // sets length to given number of samples m_sfHpIRInv.Load( m_oParams.pCore->FindFilePath( sFilePath ) ); // sets length to given number of samples
if( m_sfHpIRInv.channels() != 2 ) if( m_sfHpIRInv.channels() != 2 )
VA_EXCEPT2( INVALID_PARAMETER, "Headphone EQ impulse response '" + sFilePath + "' requires two channels" ); VA_EXCEPT2( INVALID_PARAMETER, "Headphone EQ impulse response '" + sFilePath + "' requires two channels" );
......
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