GNU Radio 3.7.1 C++ API
gr::audio::sink Class Reference

Creates a sink from an audio device. More...

#include <sink.h>

Inheritance diagram for gr::audio::sink:

List of all members.

Public Types

typedef boost::shared_ptr< sinksptr

Static Public Member Functions

static sptr make (int sampling_rate, const std::string device_name="", bool ok_to_block=true)

Detailed Description

Creates a sink from an audio device.


Member Typedef Documentation


Member Function Documentation

static sptr gr::audio::sink::make ( int  sampling_rate,
const std::string  device_name = "",
bool  ok_to_block = true 
) [static]

Creates a sink from an audio device at a specified sample_rate. The specific audio device to use can be specified as the device_name parameter. Typical choices are:

  • pulse
  • hw:0,0
  • plughw:0,0
  • surround51
  • /dev/dsp

The documentation for this class was generated from the following file: