#include <gr_stream_mux.h>
#include <gr_io_signature.h>
#include <string.h>
Defines | |
#define | VERBOSE 0 |
Functions | |
gr_stream_mux_sptr | gr_make_stream_mux (size_t itemsize, const std::vector< int > &lengths) |
Creates a stream muxing block to multiplex many streams into one with a specified format. |
#define VERBOSE 0 |
gr_stream_mux_sptr gr_make_stream_mux | ( | size_t | itemsize, | |
const std::vector< int > & | lengths | |||
) |
Creates a stream muxing block to multiplex many streams into one with a specified format.
itemsize | the item size of the stream | |
length | a vector (list/tuple) specifying the number of items from each stream the mux together. Warning: this requires that at least as many items per stream are available or the system will wait indefinitely for the items. |