Skip to content
Snippets Groups Projects
Commit ef9f6014 authored by ChiWai Chan's avatar ChiWai Chan
Browse files

lloidparts.py: increase the queue size for each firbank by a factor of...

lloidparts.py: increase the queue size for each firbank by a factor of bank_fragment.rate so that it can filter time-reversed svd banks.
parent 214489cd
No related branches found
No related tags found
No related merge requests found
......@@ -405,7 +405,10 @@ def mkLLOIDhoftToSnrSlices(pipeline, hoftdict, bank, control_snksrc, block_durat
# firbank element, and the value here is only
# approximate and not tied to the fir bank
# parameters so might not work if those change
pipeparts.mkqueue(pipeline, hoftdict[bank_fragment.rate], max_size_bytes = 0, max_size_buffers = 0, max_size_time = int((1 * fir_stride + int(math.ceil(bank.filter_length))) * Gst.SECOND)),
# FIXME: multiplying by bank_fragment.rate was added to
# fix queing problems with time-reversed templates, but
# is clearly *way* too much. find a better solution
pipeparts.mkqueue(pipeline, hoftdict[bank_fragment.rate], max_size_bytes = 0, max_size_buffers = 0, max_size_time = int((1 * fir_stride + int(math.ceil(bank.filter_length))) * bank_fragment.rate * Gst.SECOND)),
bank,
bank_fragment,
control_snksrc,
......
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