#include <audio_windows_source.h>
Public Member Functions | |
~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 | |
Protected Member Functions | |
audio_windows_source (int sampling_freq, const std::string device_name="") | |
Friends | |
audio_windows_source_sptr | audio_windows_make_source (int sampling_freq, const std::string device_name) |
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 = "" | |||
) | [protected] |
audio_windows_source::~audio_windows_source | ( | ) |
int audio_windows_source::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.
audio_windows_source_sptr audio_windows_make_source | ( | int | sampling_freq, | |
const std::string | device_name | |||
) | [friend] |