 |
GNU Radio C++ API Reference
3.10.12.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_GR_AUDIO_SOURCE_H
12 #define INCLUDED_GR_AUDIO_SOURCE_H
27 typedef std::shared_ptr<source>
sptr;
44 make(
int sampling_rate,
const std::string device_name =
"",
bool ok_to_block =
true);
static sptr make(int sampling_rate, const std::string device_name="", bool ok_to_block=true)
Creates a source from an audio device.
Definition: gr-audio/include/gnuradio/audio/source.h:25
#define GR_AUDIO_API
Definition: gr-audio/include/gnuradio/audio/api.h:18
synchronous 1:1 input to output with history
Definition: sync_block.h:26
std::shared_ptr< source > sptr
Definition: gr-audio/include/gnuradio/audio/source.h:27
GNU Radio logging wrapper.
Definition: basic_block.h:29