23 #ifndef INCLUDED_GR_THROTTLE_H
24 #define INCLUDED_GR_THROTTLE_H
50 static sptr make(
size_t itemsize,
double samples_per_sec);
53 virtual void set_sample_rate(
double rate) = 0;
56 virtual double sample_rate()
const = 0;
Definition: gr_sync_block.h:27
boost::shared_ptr< throttle > sptr
Definition: throttle.h:48
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
throttle flow of samples such that the average rate does not exceed samples_per_sec.input: one stream of itemsize; output: one stream of itemsize
Definition: throttle.h:45
#define BLOCKS_API
Definition: gr-blocks/include/blocks/api.h:30