From 6115f0b56c4db7a85a541dac13f9a98b1affab71 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 23 Sep 2005 18:15:51 +0000 Subject: convert to using GstClockTime for all time values, finally. Original commit message from CVS: convert to using GstClockTime for all time values, finally. --- gst/level/gstlevel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst/level/gstlevel.h') diff --git a/gst/level/gstlevel.h b/gst/level/gstlevel.h index ecd10a87..98d7b149 100644 --- a/gst/level/gstlevel.h +++ b/gst/level/gstlevel.h @@ -59,7 +59,8 @@ struct _GstLevel { gdouble decay_peak_ttl; /* time to live for peak in seconds */ gdouble decay_peak_falloff; /* falloff in dB/sec */ - gint num_samples; /* one-channel sample count since last emit */ + gint num_frames; /* frame count (1 sample per channel) + * since last emit */ /* per-channel arrays for intermediate values */ gdouble *CS; /* normalized Cumulative Square */ @@ -68,7 +69,7 @@ struct _GstLevel { gdouble *decay_peak; /* running decaying normalized Peak */ gdouble *MS; /* normalized Mean Square of buffer */ gdouble *RMS_dB; /* RMS in dB to emit */ - gdouble *decay_peak_age; /* age of last peak in one-channel samples */ + GstClockTime *decay_peak_age; /* age of last peak */ }; struct _GstLevelClass { -- cgit