GNU Radio 3.3.0 C++ API
audio_oss_sink Class Reference

audio sink using OSS More...

#include <audio_oss_sink.h>

Inheritance diagram for audio_oss_sink:

List of all members.

Public Member Functions

 ~audio_oss_sink ()
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 just like gr_block::general_work, only this arranges to call consume_each for you

Protected Member Functions

 audio_oss_sink (int sampling_rate, const std::string device_name="", bool ok_to_block=true)

Friends

audio_oss_sink_sptr audio_oss_make_sink (int sampling_rate, const std::string device_name, bool ok_to_block)

Detailed Description

audio sink using OSS

input signature is one or two streams of floats. Input samples must be in the range [-1,1].


Constructor & Destructor Documentation

audio_oss_sink::audio_oss_sink ( int  sampling_rate,
const std::string  device_name = "",
bool  ok_to_block = true 
) [protected]
audio_oss_sink::~audio_oss_sink ( )

Member Function Documentation

int audio_oss_sink::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [virtual]

just like gr_block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Implements gr_sync_block.


Friends And Related Function Documentation

audio_oss_sink_sptr audio_oss_make_sink ( int  sampling_rate,
const std::string  device_name,
bool  ok_to_block 
) [friend]

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