Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITABase
Commits
97e522d3
Commit
97e522d3
authored
Aug 07, 2020
by
Pascal Palenda
Browse files
Fix error in Normalize
parent
6ca6edfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ITASampleFrame.cpp
View file @
97e522d3
...
...
@@ -583,7 +583,7 @@ float ITASampleFrame::Normalize()
findPeak
(
&
c
,
&
s
);
float
fP
=
m_vChannels
[
c
][
s
];
for
(
int
i
=
0
;
i
<
m_iChannels
;
i
++
)
m_vChannels
[
i
].
div_scalar
(
fP
);
m_vChannels
[
i
].
div_scalar
(
std
::
abs
(
fP
)
);
return
fP
;
}
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment