audio_alsa_sink.cc File Reference

#include <audio_alsa_sink.h>
#include <gr_io_signature.h>
#include <gr_prefs.h>
#include <stdio.h>
#include <iostream>
#include <stdexcept>
#include <gri_alsa.h>

Include dependency graph for audio_alsa_sink.cc:


Defines

#define NELEMS(x)   (sizeof(x)/sizeof(x[0]))

Functions

audio_alsa_sink_sptr audio_alsa_make_sink (int sampling_rate, const std::string dev, bool ok_to_block)
 make an alsa audio sink.

Define Documentation

#define NELEMS (  )     (sizeof(x)/sizeof(x[0]))


Function Documentation

audio_alsa_sink_sptr audio_alsa_make_sink ( int  sampling_rate,
const std::string  dev = "",
bool  ok_to_block = true 
)

make an alsa audio sink.

Parameters:
sampling_rate sampling rate in Hz
dev ALSA pcm device name, e.g., "hw:0,0"
ok_to_block (currently ignored)


Generated on Thu Mar 27 14:43:35 2008 for GNU Radio 3.1.1 by  doxygen 1.5.5