summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/complex_to_interleaved_char_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/complex_to_interleaved_char_impl.h')
-rw-r--r--gr-blocks/lib/complex_to_interleaved_char_impl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-blocks/lib/complex_to_interleaved_char_impl.h b/gr-blocks/lib/complex_to_interleaved_char_impl.h
index 3070d3fb9c..2e7e3c68bd 100644
--- a/gr-blocks/lib/complex_to_interleaved_char_impl.h
+++ b/gr-blocks/lib/complex_to_interleaved_char_impl.h
@@ -19,10 +19,13 @@ namespace blocks {
class BLOCKS_API complex_to_interleaved_char_impl : public complex_to_interleaved_char
{
private:
+ float d_scalar;
bool d_vector;
public:
- complex_to_interleaved_char_impl(bool vector);
+ complex_to_interleaved_char_impl(bool vector, float scale_factor);
+
+ virtual void set_scale_factor(float new_value) { d_scalar = new_value; };
int work(int noutput_items,
gr_vector_const_void_star& input_items,