audio_alsa_sink.h File Reference

#include <gr_sync_block.h>
#include <string>
#include <alsa/asoundlib.h>
#include <stdexcept>

Include dependency graph for audio_alsa_sink.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  audio_alsa_sink
 audio sink using ALSA More...

Defines

#define ALSA_PCM_NEW_HW_PARAMS_API
#define ALSA_PCM_NEW_SW_PARAMS_API

Typedefs

typedef boost::shared_ptr<
audio_alsa_sink
audio_alsa_sink_sptr

Functions

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.


Define Documentation

#define ALSA_PCM_NEW_HW_PARAMS_API
 

#define ALSA_PCM_NEW_SW_PARAMS_API
 


Typedef Documentation

typedef boost::shared_ptr<audio_alsa_sink> audio_alsa_sink_sptr
 


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 Wed Jan 31 17:15:27 2007 for GNU Radio 3.0svn by  doxygen 1.4.6