GNU Radio 3.7.1 C++ API
|
Creates a sink from an audio device. More...
#include <sink.h>
Public Types | |
typedef boost::shared_ptr< sink > | sptr |
Static Public Member Functions | |
static sptr | make (int sampling_rate, const std::string device_name="", bool ok_to_block=true) |
Creates a sink from an audio device.
typedef boost::shared_ptr<sink> gr::audio::sink::sptr |
static sptr gr::audio::sink::make | ( | int | sampling_rate, |
const std::string | device_name = "" , |
||
bool | ok_to_block = true |
||
) | [static] |
Creates a sink from an audio device at a specified sample_rate. The specific audio device to use can be specified as the device_name parameter. Typical choices are: