Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alicia Boya García
gst-plugins-good
Commits
c2f83174
Commit
c2f83174
authored
Jul 27, 2004
by
Thomas Vander Stichele
Browse files
comments
Original commit message from CVS: comments
parent
ffc787b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
gst/level/filter.func
View file @
c2f83174
/*
static void inline
gst_level_fast_16bit_chain (gint16 * in, guint num, gint channels,
gint resolution, double *CS, double *peak)
*/
/* process one (interleaved) channel of incoming samples
* calculate square sum of samples
* normalize and return normalized Cumulative Square
...
...
gst/level/gstlevel.c
View file @
c2f83174
...
...
@@ -201,6 +201,7 @@ gst_level_fast_16bit_chain (gint16 * in, guint num, gint channels,
in_data
=
(
gint16
*
)
GST_BUFFER_DATA
(
buf
);
/* total number of interleaved samples */
num_samples
=
GST_BUFFER_SIZE
(
buf
)
/
(
filter
->
width
/
8
);
if
(
num_samples
%
filter
->
channels
!=
0
)
g_warning
...
...
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