summaryrefslogtreecommitdiff
path: root/gr-analog/lib/squelch_base_ff_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
commit597b93798a804cde1783d6d2ab53b348d57c44cd (patch)
treeb65e73bb0de634ff5d209b15971ebdabf369a45c /gr-analog/lib/squelch_base_ff_impl.cc
parent1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff)
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'gr-analog/lib/squelch_base_ff_impl.cc')
-rw-r--r--gr-analog/lib/squelch_base_ff_impl.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/gr-analog/lib/squelch_base_ff_impl.cc b/gr-analog/lib/squelch_base_ff_impl.cc
index 2fb0e64301..a729fedb24 100644
--- a/gr-analog/lib/squelch_base_ff_impl.cc
+++ b/gr-analog/lib/squelch_base_ff_impl.cc
@@ -51,26 +51,26 @@ namespace gr {
{
return d_ramp;
}
-
- void
+
+ void
squelch_base_ff_impl::set_ramp(int ramp)
{
d_ramp = ramp;
}
-
- bool
+
+ bool
squelch_base_ff_impl::gate() const
{
return d_gate;
}
- void
+ void
squelch_base_ff_impl::set_gate(bool gate)
{
d_gate = gate;
}
-
- bool
+
+ bool
squelch_base_ff_impl::unmuted() const
{
return (d_state == ST_UNMUTED || d_state == ST_ATTACK);
@@ -109,7 +109,7 @@ namespace gr {
d_envelope = 0.5-std::cos(M_PI*(++d_ramped)/d_ramp)/2.0;
// use >= in case d_ramp is set to lower value elsewhere
- if(d_ramped >= d_ramp) {
+ if(d_ramped >= d_ramp) {
d_state = ST_UNMUTED;
d_envelope = 1.0;
}