diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-12-29 12:24:20 -0500 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-12-29 12:24:20 -0500 |
commit | 1a301cbce806b2fc04d1ad565f2888ebdc230f32 (patch) | |
tree | fc90f8f810e37834ad57c3e63a902e8a7ec292f9 /gr-fec | |
parent | 9a689e6f6acf4db777cbd2a9c2dda757510d0f93 (diff) |
fec: fixed bug in dummy decoder that shifted the samples by +1.
Diffstat (limited to 'gr-fec')
-rw-r--r-- | gr-fec/lib/dummy_decoder_impl.cc | 10 | ||||
-rw-r--r-- | gr-fec/lib/dummy_decoder_impl.h | 1 |
2 files changed, 2 insertions, 9 deletions
diff --git a/gr-fec/lib/dummy_decoder_impl.cc b/gr-fec/lib/dummy_decoder_impl.cc index 105057447f..f1bada4f5a 100644 --- a/gr-fec/lib/dummy_decoder_impl.cc +++ b/gr-fec/lib/dummy_decoder_impl.cc @@ -81,12 +81,6 @@ namespace gr { return "none"; } - float - dummy_decoder_impl::get_shift() - { - return 1; - } - bool dummy_decoder_impl::set_frame_size(unsigned int frame_size) { @@ -116,8 +110,8 @@ namespace gr { int8_t *out = (int8_t*)outbuffer; //memcpy(out, in, d_frame_size*sizeof(char)); - //volk_32f_binary_slicer_8i(out, in, d_frame_size); - volk_32f_s32f_convert_8i(out, in, 1.0/2.0, d_frame_size); + volk_32f_binary_slicer_8i(out, in, d_frame_size); + //volk_32f_s32f_convert_8i(out, in, 1.0/2.0, d_frame_size); } } /* namespace code */ diff --git a/gr-fec/lib/dummy_decoder_impl.h b/gr-fec/lib/dummy_decoder_impl.h index 4685a86f14..bcdd606f18 100644 --- a/gr-fec/lib/dummy_decoder_impl.h +++ b/gr-fec/lib/dummy_decoder_impl.h @@ -39,7 +39,6 @@ namespace gr { int get_output_size(); int get_input_size(); int get_input_item_size(); - float get_shift(); const char* get_input_conversion(); //const char* get_output_conversion(); |