summaryrefslogtreecommitdiffstats
path: root/gst/level
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:44:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:44:58 +0000
commit3ecf433432289b9c1990165f65bdd51aaad2eaa7 (patch)
treedc7bd5c5b4eb37d49b1a37ca1f33c9d9ed2a8374 /gst/level
parentf2085bd7ef2a4e685b8a58ae0848c43aab0d8747 (diff)
expand tabs
Original commit message from CVS: expand tabs
Diffstat (limited to 'gst/level')
-rw-r--r--gst/level/gstlevel.c2
-rw-r--r--gst/level/gstlevel.h28
2 files changed, 15 insertions, 15 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index de8ca6a0..6bb53ddc 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -328,7 +328,7 @@ gst_level_calculate_##TYPE (TYPE * in, guint num, gint channels, \
{ \
register int j; \
double squaresum = 0.0; /* square sum of the integer samples */ \
- register double square = 0.0; /* Square */ \
+ register double square = 0.0; /* Square */ \
register double peaksquare = 0.0; /* Peak Square Sample */ \
gdouble normalizer; /* divisor to get a [-1.0, 1.0] range */ \
\
diff --git a/gst/level/gstlevel.h b/gst/level/gstlevel.h
index b003c23a..50794b30 100644
--- a/gst/level/gstlevel.h
+++ b/gst/level/gstlevel.h
@@ -50,27 +50,27 @@ typedef struct _GstLevelClass GstLevelClass;
struct _GstLevel {
GstBaseTransform element;
- gboolean message; /* whether or not to post messages */
- gdouble interval; /* how many seconds between emits */
+ gboolean message; /* whether or not to post messages */
+ gdouble interval; /* how many seconds between emits */
- gint rate; /* caps variables */
+ gint rate; /* caps variables */
gint width;
gint channels;
- gdouble decay_peak_ttl; /* time to live for peak in seconds */
- gdouble decay_peak_falloff; /* falloff in dB/sec */
- gint num_frames; /* frame count (1 sample per channel)
+ gdouble decay_peak_ttl; /* time to live for peak in seconds */
+ gdouble decay_peak_falloff; /* falloff in dB/sec */
+ gint num_frames; /* frame count (1 sample per channel)
* since last emit */
/* per-channel arrays for intermediate values */
- gdouble *CS; /* normalized Cumulative Square */
- gdouble *peak; /* normalized Peak value over buffer */
- gdouble *last_peak; /* last normalized Peak value over interval */
- gdouble *decay_peak; /* running decaying normalized Peak */
- gdouble *decay_peak_base; /* value of last peak we are decaying from */
- gdouble *MS; /* normalized Mean Square of buffer */
- gdouble *RMS_dB; /* RMS in dB to emit */
- GstClockTime *decay_peak_age; /* age of last peak */
+ gdouble *CS; /* normalized Cumulative Square */
+ gdouble *peak; /* normalized Peak value over buffer */
+ gdouble *last_peak; /* last normalized Peak value over interval */
+ gdouble *decay_peak; /* running decaying normalized Peak */
+ gdouble *decay_peak_base; /* value of last peak we are decaying from */
+ gdouble *MS; /* normalized Mean Square of buffer */
+ gdouble *RMS_dB; /* RMS in dB to emit */
+ GstClockTime *decay_peak_age; /* age of last peak */
};
struct _GstLevelClass {