Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ITACTC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institute of Technical Acoustics (ITA)
ITACTC
Commits
8a43d8bc
You need to sign in or sign up before continuing.
Commit
8a43d8bc
authored
8 years ago
by
Jonas Stienen
Browse files
Options
Downloads
Patches
Plain Diff
Adding optimization enum (empty, only no_opt, for later use)
parent
b23c87dd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/ITANCTC.h
+4
-0
4 additions, 0 deletions
include/ITANCTC.h
src/ITANCTC.cpp
+1
-1
1 addition, 1 deletion
src/ITANCTC.cpp
with
5 additions
and
1 deletion
include/ITANCTC.h
+
4
−
0
View file @
8a43d8bc
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/ITANCTC.cpp
+
1
−
1
View file @
8a43d8bc
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment