#include <audio_alsa_source.h>
#include <gr_io_signature.h>
#include <gr_prefs.h>
#include <stdio.h>
#include <iostream>
#include <stdexcept>
#include <gri_alsa.h>
Defines | |
#define | NELEMS(x) (sizeof(x)/sizeof(x[0])) |
Functions | |
audio_alsa_source_sptr | audio_alsa_make_source (int sampling_rate, const std::string dev, bool ok_to_block) |
Make an ALSA audio source. |
#define NELEMS | ( | x | ) | (sizeof(x)/sizeof(x[0])) |
audio_alsa_source_sptr audio_alsa_make_source | ( | int | sampling_rate, | |
const std::string | dev = "" , |
|||
bool | ok_to_block = true | |||
) |
Make an ALSA audio source.
sampling_rate | sampling rate | |
dev | ALSA pcm device name, e.g., "hw:0,0" | |
ok_to_block | (currently ignored) |