Gitlab will migrate to a new storage backend starting 0300 UTC on 2020-04-04. We do not anticipate a maintenance window for this migration. Performance may be impacted over the weekend. Thanks for your patience.

Commit 25ce7d01 authored by Patrick Godwin's avatar Patrick Godwin add queue after whitener to avoid pipeline... add queue after whitener to avoid pipeline hanging after segment boundaries
parent 9164669b
......@@ -190,6 +190,12 @@ def mkwhitened_multirate_src(pipeline, src, rates, native_rate, instrument, psd
firelem.set_property("fir-matrix", numpy.array(kernel, ndmin = 2))
whiten.connect_after("notify::mean-psd", set_fir_psd, head, reference_psd.PSDFirKernel())
# extra queue to deal with gaps produced by segmentsrc
head = pipeparts.mkqueue(pipeline, head, max_size_buffers = 0, max_size_bytes = 0, max_size_time = Gst.SECOND * (psd_fft_length + 2))
# Drop initial data to let the PSD settle
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment