GNU Radio 3.7.1 C++ API
|
Creates a source from an audio device. More...
#include <source.h>
Public Types | |
typedef boost::shared_ptr< source > | sptr |
Static Public Member Functions | |
static sptr | make (int sampling_rate, const std::string device_name="", bool ok_to_block=true) |
Creates a source from an audio device.
static sptr gr::audio::source::make | ( | int | sampling_rate, |
const std::string | device_name = "" , |
||
bool | ok_to_block = true |
||
) | [static] |
Creates a source 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: