|
GNU Radio 3.6.1 C++ API
|
audio sink using winmm mmsystem (win32 only)input signature is one or two streams of floats. Input samples must be in the range [-1,1]. More...
#include <audio_windows_sink.h>

Public Member Functions | |
| audio_windows_sink (int sampling_freq, const std::string device_name="") | |
| ~audio_windows_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 | |
| int | string_to_int (const std::string &s) |
| int | open_waveout_device (void) |
| int | write_waveout (HPSTR lp_data, DWORD dw_data_size) |
Additional Inherited Members | |
Public Types inherited from audio_sink | |
| typedef boost::shared_ptr < audio_sink > | sptr |
audio sink using winmm mmsystem (win32 only)
input signature is one or two streams of floats. Input samples must be in the range [-1,1].
| audio_windows_sink::audio_windows_sink | ( | int | sampling_freq, |
| const std::string | device_name = "" |
||
| ) |
| audio_windows_sink::~audio_windows_sink | ( | ) |
|
protected |
|
protected |
|
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.
|
protected |