[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/03: gr-filter: Fix pfb_arb_resampler pro
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/03: gr-filter: Fix pfb_arb_resampler producing more samples than allowed |
Date: |
Tue, 25 Oct 2016 00:14:30 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 915f1b02408a6a4f2ce2ffb2d9336643745aa939
Author: Sylvain Munaut <address@hidden>
Date: Mon Oct 24 23:49:20 2016 +0200
gr-filter: Fix pfb_arb_resampler producing more samples than allowed
This reverts b20df754b45db9b330c3876814b2570167aba441
The work function of theses uses the relative_rate() to predict how much
to consume/produce. And this works fine if you use the exact rate
that's configured. But you can't let the executor update it with automatic
estimations.
Signed-off-by: Sylvain Munaut <address@hidden>
---
gr-filter/lib/pfb_arb_resampler_ccc_impl.cc | 1 -
gr-filter/lib/pfb_arb_resampler_ccf_impl.cc | 1 -
gr-filter/lib/pfb_arb_resampler_fff_impl.cc | 1 -
3 files changed, 3 deletions(-)
diff --git a/gr-filter/lib/pfb_arb_resampler_ccc_impl.cc
b/gr-filter/lib/pfb_arb_resampler_ccc_impl.cc
index db16800..3437524 100644
--- a/gr-filter/lib/pfb_arb_resampler_ccc_impl.cc
+++ b/gr-filter/lib/pfb_arb_resampler_ccc_impl.cc
@@ -53,7 +53,6 @@ namespace gr {
d_resamp = new kernel::pfb_arb_resampler_ccc(rate, taps, filter_size);
set_history(d_resamp->taps_per_filter());
set_relative_rate(rate);
- enable_update_rate(true);
}
pfb_arb_resampler_ccc_impl::~pfb_arb_resampler_ccc_impl()
diff --git a/gr-filter/lib/pfb_arb_resampler_ccf_impl.cc
b/gr-filter/lib/pfb_arb_resampler_ccf_impl.cc
index aa6cb77..246b3d9 100644
--- a/gr-filter/lib/pfb_arb_resampler_ccf_impl.cc
+++ b/gr-filter/lib/pfb_arb_resampler_ccf_impl.cc
@@ -53,7 +53,6 @@ namespace gr {
d_resamp = new kernel::pfb_arb_resampler_ccf(rate, taps, filter_size);
set_history(d_resamp->taps_per_filter());
set_relative_rate(rate);
- enable_update_rate(true);
}
pfb_arb_resampler_ccf_impl::~pfb_arb_resampler_ccf_impl()
diff --git a/gr-filter/lib/pfb_arb_resampler_fff_impl.cc
b/gr-filter/lib/pfb_arb_resampler_fff_impl.cc
index 8602a2f..1d994cc 100644
--- a/gr-filter/lib/pfb_arb_resampler_fff_impl.cc
+++ b/gr-filter/lib/pfb_arb_resampler_fff_impl.cc
@@ -52,7 +52,6 @@ namespace gr {
d_resamp = new kernel::pfb_arb_resampler_fff(rate, taps, filter_size);
set_history(d_resamp->taps_per_filter());
set_relative_rate(rate);
- enable_update_rate(true);
}
pfb_arb_resampler_fff_impl::~pfb_arb_resampler_fff_impl()