23#ifndef INCLUDED_HNCHIIO_EIGHTBIT_SINK_H
24#define INCLUDED_HNCHIIO_EIGHTBIT_SINK_H
27#include <gnuradio/sync_block.h>
29#define DEFAULT_BUFFER_SIZE 0x8000
46 typedef std::shared_ptr<eightbit_sink>
sptr;
56 static sptr make(
const std::string &uri,
const std::string &device,
57 const std::vector<std::string> &channels,
58 const std::string &device_phy,
59 const std::vector<std::string> ¶ms,
61 unsigned int interpolation = 0,
bool cyclic =
false);
63 static sptr make_from(
struct iio_context *ctx,
const std::string &device,
64 const std::vector<std::string> &channels,
65 const std::string &device_phy,
66 const std::vector<std::string> ¶ms,
68 unsigned int interpolation = 0,
bool cyclic =
false);
#define IIO_API
Definition api.h:19
<+description of block+>
Definition eightbit_sink.h:44
static sptr make_from(struct iio_context *ctx, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy, const std::vector< std::string > ¶ms, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int interpolation=0, bool cyclic=false)
static sptr make(const std::string &uri, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy, const std::vector< std::string > ¶ms, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int interpolation=0, bool cyclic=false)
Return a shared_ptr to a new instance of hnchiio::device.
std::shared_ptr< eightbit_sink > sptr
Definition eightbit_sink.h:46
#define DEFAULT_BUFFER_SIZE
Definition device_sink.h:29
Definition device_sink.h:36
Definition device_sink.h:35