Skip to content
Snippets Groups Projects
Commit 8a43d8bc authored by Jonas Stienen's avatar Jonas Stienen
Browse files

Adding optimization enum (empty, only no_opt, for later use)

parent b23c87dd
Branches
Tags
No related merge requests found
...@@ -109,6 +109,10 @@ public: ...@@ -109,6 +109,10 @@ public:
{ {
public: public:
enum
{
OPTIMIZATION_NONE = 0, //!< No optimization in filter design
};
int N; //!< Number of loudspeakers int N; //!< Number of loudspeakers
int iCTCFilterLength; //!< CTC filter taps, i.e. 4096 int iCTCFilterLength; //!< CTC filter taps, i.e. 4096
......
...@@ -159,7 +159,7 @@ bool ITANCTC::CalculateFilter( std::vector< ITAHDFTSpectra* >& vpCTCFilter ) ...@@ -159,7 +159,7 @@ bool ITANCTC::CalculateFilter( std::vector< ITAHDFTSpectra* >& vpCTCFilter )
switch( m_iOptimization ) switch( m_iOptimization )
{ {
// Here comes more if ready ... see feature/room_compensation branch // Here comes more if ready ... see feature/room_compensation branch
case 0: case Config::OPTIMIZATION_NONE:
default: default:
if( AddHRIR( GetLoudspeakerPose( n+1 ), m_sfCTC_temp, bOutOfRange ) == false ) if( AddHRIR( GetLoudspeakerPose( n+1 ), m_sfCTC_temp, bOutOfRange ) == false )
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment