mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-06 08:09:56 +00:00
gst/level/gstlevel.c: Revert last change.
Original commit message from CVS: * gst/level/gstlevel.c: Revert last change.
This commit is contained in:
parent
f636fb8b34
commit
7ab6d2b0b0
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-05-09 David Schleef <ds@schleef.org>
|
||||
|
||||
* gst/level/gstlevel.c:
|
||||
Revert last change.
|
||||
|
||||
2007-05-09 Sebastien Moutte <sebastien@moutte.net>
|
||||
|
||||
* gst/level/gstlevel.c: (gst_level_calculate_##TYPE),
|
||||
|
|
|
@ -313,7 +313,7 @@ gst_level_get_property (GObject * object, guint prop_id,
|
|||
|
||||
#define DEFINE_INT_LEVEL_CALCULATOR(TYPE, RESOLUTION) \
|
||||
static void inline \
|
||||
gst_level_calculate_##TYPE (guint8 *data, guint num, guint channels, \
|
||||
gst_level_calculate_##TYPE (gpointer data, guint num, guint channels, \
|
||||
gdouble *NCS, gdouble *NPS) \
|
||||
{ \
|
||||
TYPE * in = (TYPE *)data; \
|
||||
|
@ -344,7 +344,7 @@ DEFINE_INT_LEVEL_CALCULATOR (gint8, 7);
|
|||
|
||||
#define DEFINE_FLOAT_LEVEL_CALCULATOR(TYPE) \
|
||||
static void inline \
|
||||
gst_level_calculate_##TYPE (guint8 *data, guint num, guint channels, \
|
||||
gst_level_calculate_##TYPE (gpointer data, guint num, guint channels, \
|
||||
gdouble *NCS, gdouble *NPS) \
|
||||
{ \
|
||||
TYPE * in = (TYPE *)data; \
|
||||
|
@ -534,7 +534,7 @@ static GstFlowReturn
|
|||
gst_level_transform_ip (GstBaseTransform * trans, GstBuffer * in)
|
||||
{
|
||||
GstLevel *filter;
|
||||
guint8 *in_data;
|
||||
gpointer in_data;
|
||||
double CS = 0.0;
|
||||
guint num_frames = 0;
|
||||
guint num_int_samples = 0; /* number of interleaved samples
|
||||
|
|
Loading…
Reference in a new issue