Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
ITACTC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
ITACTC
Commits
95072ed8
Commit
95072ed8
authored
Sep 12, 2018
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applying ITABase mode naming refactoring
parent
1414961c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/ITANCTCStreamFilter.cpp
src/ITANCTCStreamFilter.cpp
+4
-4
No files found.
src/ITANCTCStreamFilter.cpp
View file @
95072ed8
...
...
@@ -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
->
SetFilterExchange
Mode
(
oConfig
.
iFilterExchangeMode
);
pConvolverL
->
SetFilterExchange
FadingFunction
(
oConfig
.
iFilterExchangeMode
);
pConvolverL
->
SetFilterCrossfadeLength
(
oConfig
.
iFilterCrossfadeLength
);
m_vpConvolvers
.
push_back
(
pConvolverL
);
ITAUPConvolution
*
pConvolverR
=
new
ITAUPConvolution
(
oConfig
.
iBlockLength
,
oConfig
.
iFilterLength
,
m_pFilterPool
);
pConvolverR
->
SetFilterExchange
Mode
(
oConfig
.
iFilterExchangeMode
);
pConvolverR
->
SetFilterExchange
FadingFunction
(
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
,
ITA
UPConvolution
::
OUTPUT_
OVERWRITE
);
pConvolverR
->
Process
(
pfInputDataCh1
,
oConfig
.
iBlockLength
,
pfOutputData
,
oConfig
.
iBlockLength
,
ITA
UPConvolution
::
OUTPUT_MIX
);
pConvolverL
->
Process
(
pfInputDataCh0
,
oConfig
.
iBlockLength
,
pfOutputData
,
oConfig
.
iBlockLength
,
ITA
Base
::
MixingMethod
::
OVERWRITE
);
pConvolverR
->
Process
(
pfInputDataCh1
,
oConfig
.
iBlockLength
,
pfOutputData
,
oConfig
.
iBlockLength
,
ITA
Base
::
MixingMethod
::
ADD
);
}
// Increment write pointer on output stream
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment