GNU Radio 3.6.5.1 C++ API
|
audio sink using OSSinput signature is one or two streams of floats. Input samples must be in the range [-1,1]. More...
#include <audio_oss_sink.h>
Public Member Functions | |
audio_oss_sink (int sampling_rate, const std::string device_name="", bool ok_to_block=true) | |
~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 |
Additional Inherited Members | |
![]() | |
typedef boost::shared_ptr < audio_sink > | sptr |
![]() | |
enum | vcolor { WHITE, GREY, BLACK } |
![]() | |
gr_sync_block (void) | |
gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature) | |
![]() | |
std::vector< long > | d_max_output_buffer |
std::vector< long > | d_min_output_buffer |
gruel::mutex | d_setlock |
gr_logger_ptr | d_logger |
gr_logger_ptr | d_debug_logger |
audio sink using OSS
input signature is one or two streams of floats. Input samples must be in the range [-1,1].
audio_oss_sink::audio_oss_sink | ( | int | sampling_rate, |
const std::string | device_name = "" , |
||
bool | ok_to_block = true |
||
) |
audio_oss_sink::~audio_oss_sink | ( | ) |
|
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.