23 #ifndef INCLUDED_BLOCKS_FLOAT_TO_SHORT_H 24 #define INCLUDED_BLOCKS_FLOAT_TO_SHORT_H 40 typedef boost::shared_ptr<float_to_short>
sptr;
48 static sptr make(
size_t vlen = 1,
float scale = 1.0);
53 virtual float scale()
const = 0;
58 virtual void set_scale(
float scale) = 0;
Convert stream of floats to a stream of shorts.
Definition: float_to_short.h:36
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
boost::shared_ptr< float_to_short > sptr
Definition: float_to_short.h:40