diff options
author | Josh Blum | 2012-09-22 17:49:52 -0400 |
---|---|---|
committer | Josh Blum | 2012-09-22 17:49:52 -0400 |
commit | a76963ab6fdde4bf793ecb38f95fa6255647288a (patch) | |
tree | 9dc44a50a830f7d3d76ea11f7cac9ae4aef558b0 /lib/block_task.cpp | |
parent | 89de2759ba95682f51865dd06b7509e48969dc96 (diff) | |
download | sandhi-a76963ab6fdde4bf793ecb38f95fa6255647288a.tar.gz sandhi-a76963ab6fdde4bf793ecb38f95fa6255647288a.tar.bz2 sandhi-a76963ab6fdde4bf793ecb38f95fa6255647288a.zip |
threading related tweaks for happy qa code
Diffstat (limited to 'lib/block_task.cpp')
-rw-r--r-- | lib/block_task.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_task.cpp b/lib/block_task.cpp index f6f3dcb..6329ab0 100644 --- a/lib/block_task.cpp +++ b/lib/block_task.cpp @@ -196,7 +196,7 @@ void ElementImpl::handle_task(const tsbe::TaskInterface &task_iface) //-- the work //------------------------------------------------------------------ work_noutput_items = num_output_items; - /*if (this->enable_fixed_rate)*/ work_noutput_items = std::min( + if (this->enable_fixed_rate) work_noutput_items = std::min( work_noutput_items, myulround((num_input_items)*this->relative_rate)); this->work_task_iface = task_iface; this->work_ret = -1; |