summaryrefslogtreecommitdiff
path: root/gr-analog/lib/cpfsk_bc_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-analog/lib/cpfsk_bc_impl.h')
-rw-r--r--gr-analog/lib/cpfsk_bc_impl.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/gr-analog/lib/cpfsk_bc_impl.h b/gr-analog/lib/cpfsk_bc_impl.h
index 7b8ac2adf3..2bee7f9e3f 100644
--- a/gr-analog/lib/cpfsk_bc_impl.h
+++ b/gr-analog/lib/cpfsk_bc_impl.h
@@ -24,31 +24,31 @@
#include <gnuradio/analog/cpfsk_bc.h>
namespace gr {
- namespace analog {
-
- class cpfsk_bc_impl : public cpfsk_bc
- {
- private:
- int d_samples_per_sym; // Samples per symbol, square pulse
- float d_freq; // Modulation index*pi/samples_per_sym
- float d_ampl; // Output amplitude
- float d_phase; // Current phase
-
- public:
- cpfsk_bc_impl(float k, float ampl, int samples_per_sym);
- ~cpfsk_bc_impl();
-
- void set_amplitude(float amplitude) { d_ampl = amplitude; }
- float amplitude() { return d_ampl; }
- float freq() { return d_freq; }
- float phase() { return d_phase; }
-
- int work(int noutput_items,
- gr_vector_const_void_star &input_items,
- gr_vector_void_star &output_items);
- };
-
- } /* namespace analog */
+namespace analog {
+
+class cpfsk_bc_impl : public cpfsk_bc
+{
+private:
+ int d_samples_per_sym; // Samples per symbol, square pulse
+ float d_freq; // Modulation index*pi/samples_per_sym
+ float d_ampl; // Output amplitude
+ float d_phase; // Current phase
+
+public:
+ cpfsk_bc_impl(float k, float ampl, int samples_per_sym);
+ ~cpfsk_bc_impl();
+
+ void set_amplitude(float amplitude) { d_ampl = amplitude; }
+ float amplitude() { return d_ampl; }
+ float freq() { return d_freq; }
+ float phase() { return d_phase; }
+
+ int work(int noutput_items,
+ gr_vector_const_void_star& input_items,
+ gr_vector_void_star& output_items);
+};
+
+} /* namespace analog */
} /* namespace gr */
#endif /* INCLUDED_ANALOG_CPFSK_BC_IMPL_H */