diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-09-01 20:23:22 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-09-01 20:23:22 +0000 |
commit | 423df73380779bfc30d9f87cd876dcea71b75af0 (patch) | |
tree | d98478e6845da82b2df350fa0eba99e4943775fe /gst/level/gstlevel.h | |
parent | 63efb534b9dadf2215e1175d0641d17c6437176a (diff) |
Andrewio Patrickoforus Wingonymus - 5 additional tests for your sins
Original commit message from CVS:
Andrewio Patrickoforus Wingonymus - 5 additional tests for your sins
Add a regression test for level and fix a casting bug that made the additional
channels turn out wrong
Diffstat (limited to 'gst/level/gstlevel.h')
-rw-r--r-- | gst/level/gstlevel.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gst/level/gstlevel.h b/gst/level/gstlevel.h index 5a9a1042..ecd10a87 100644 --- a/gst/level/gstlevel.h +++ b/gst/level/gstlevel.h @@ -1,8 +1,6 @@ /* GStreamer - * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> - * - * gstlevel.c: signals RMS, peak and decaying peak levels - * Copyright (C) 2000,2001,2002,2003 + * Copyright (C) 1999 Erik Walthinsen <omega@cse.ogi.edu> + * Copyright (C) 2000,2001,2002,2003,2005 * Thomas Vander Stichele <thomas at apestaart dot org> * * This library is free software; you can redistribute it and/or @@ -52,7 +50,7 @@ typedef struct _GstLevelClass GstLevelClass; struct _GstLevel { GstBaseTransform element; - gboolean signal; /* whether or not to emit signals */ + gboolean message; /* whether or not to post messages */ gdouble interval; /* how many seconds between emits */ gint rate; /* caps variables */ @@ -61,7 +59,7 @@ struct _GstLevel { gdouble decay_peak_ttl; /* time to live for peak in seconds */ gdouble decay_peak_falloff; /* falloff in dB/sec */ - gdouble num_samples; /* one-channel sample count since last emit */ + gint num_samples; /* one-channel sample count since last emit */ /* per-channel arrays for intermediate values */ gdouble *CS; /* normalized Cumulative Square */ |