GNU Radio C++ API
|
audio source using winmm mmsystem (win32 only)Output signature is one or two streams of floats. Output samples will be in the range [-1,1]. More...
#include <audio_windows_source.h>
Public Member Functions | |
audio_windows_source (int sampling_freq, const std::string device_name="") | |
~audio_windows_source () | |
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 More... | |
Additional Inherited Members | |
![]() | |
typedef boost::shared_ptr < audio_source > | 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::string | d_name |
gr_io_signature_sptr | d_input_signature |
gr_io_signature_sptr | d_output_signature |
long | d_unique_id |
vcolor | d_color |
audio source using winmm mmsystem (win32 only)
Output signature is one or two streams of floats. Output samples will be in the range [-1,1].
audio_windows_source::audio_windows_source | ( | int | sampling_freq, |
const std::string | device_name = "" |
||
) |
audio_windows_source::~audio_windows_source | ( | ) |
|
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.