Skip to content
Snippets Groups Projects
Commit f7e77ce6 authored by Chad Hanna's avatar Chad Hanna
Browse files

gstlaldeglitchfilter.c: make min window 0.5 seconds

parent 693482e8
No related branches found
No related tags found
No related merge requests found
......@@ -347,7 +347,7 @@ static GstFlowReturn process_buffer(GstLALDeglitchFilter *filter, GstBuffer * in
*/
guint64 duration = segstop - segstart;
gdouble min_window_duration = 2.0 * GST_SECOND;
gdouble min_window_duration = 0.5 * GST_SECOND;
g_assert(duration >= min_window_duration); /* must be greater than or equal to 1.0s */
g_assert(filter->rate >= 128); /* This probably doesnt make sense for low sample rates, so this is just here as a safety check. FIXME */
gdouble beta = min_window_duration / duration;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment