Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITADSP
Commits
9c7cafbb
Commit
9c7cafbb
authored
Jul 16, 2019
by
Dipl.-Ing. Jonas Stienen
Browse files
Applying changes of interp interface
parent
94b1f710
Changes
2
Show whitespace changes
Inline
Side-by-side
src/ITASIMOVariableDelayLine.cpp
View file @
9c7cafbb
...
...
@@ -249,10 +249,11 @@ void CITASIMOVariableDelayLine::ReadBlock( const int iCursorID, ITASampleBuffer*
// Interpolieren: Temporrpuffer (Gre Size+Offset) --> Output (Gre Blocklnge)
// Input Offset = iLeft -> effektive Inputlnge = iSize
// But: iInputLength is the length of sample to be interpolated from! (in & out length determines resampling factor)
// iRight wird implizit durch die Interpolationsroutine verwendet, d.h.
// bei iInputLength von iLeft+iSize wird auf weitere Daten zugegriffen, die
// rechts davon liegen und im Temporrpuffer vorhanden sein mssen!
int
iInputLength
=
iLeft
+
iSize
;
int
iInputLength
=
iSize
;
int
iInputStartOffset
=
iLeft
;
m_pInterpolationRoutine
->
Interpolate
(
m_psbTemp
,
iInputLength
,
iInputStartOffset
,
psbOutput
,
m_iBlockLength
);
...
...
src/ITAVariableDelayLine.cpp
View file @
9c7cafbb
...
...
@@ -438,7 +438,7 @@ void CITAVariableDelayLine::Process( const ITASampleBuffer* psbInput, ITASampleB
// iRight wird implizit durch die Interpolationsroutine verwendet, d.h.
// bei iInputLength von iLeft+iSize wird auf weitere Daten zugegriffen, die
// rechts davon liegen und im Temporrpuffer vorhanden sein mssen!
int
iInputLength
=
iLeft
+
iSize
;
int
iInputLength
=
iSize
;
int
iInputStartOffset
=
iLeft
;
m_pInterpolationRoutine
->
Interpolate
(
m_psbTemp
,
iInputLength
,
iInputStartOffset
,
psbOutput
,
m_iBlockLength
);
...
...
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