[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/03: fec: fixed bug in dummy decoder that
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/03: fec: fixed bug in dummy decoder that shifted the samples by +1. |
Date: |
Mon, 29 Dec 2014 18:30:06 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit 1a301cbce806b2fc04d1ad565f2888ebdc230f32
Author: Tom Rondeau <address@hidden>
Date: Mon Dec 29 12:24:20 2014 -0500
fec: fixed bug in dummy decoder that shifted the samples by +1.
---
gr-fec/lib/dummy_decoder_impl.cc | 10 ++--------
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 1050574..f1bada4 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 4685a86..bcdd606 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();