#include <gr_sync_block.h>
#include <gr_buffer.h>
#include <omnithread.h>
#include <string>
#include <portaudio.h>
#include <stdexcept>
#include <gri_logger.h>
Go to the source code of this file.
Classes | |
class | audio_portaudio_source |
Typedefs | |
typedef boost::shared_ptr < audio_portaudio_source > | audio_portaudio_source_sptr |
Functions | |
audio_portaudio_source_sptr | audio_portaudio_make_source (int sampling_rate, const std::string dev="", bool ok_to_block=true) |
Variables | |
PaStreamCallback | portaudio_source_callback |
audio_portaudio_source_sptr audio_portaudio_make_source | ( | int | sampling_rate, | |
const std::string | dev = "" , |
|||
bool | ok_to_block = true | |||
) |
audio source.
sampling_rate | sampling rate in Hz | |
dev | PORTAUDIO device name, e.g., "pa:" | |
ok_to_block | true if it's ok for us to block |
PaStreamCallback portaudio_source_callback |