|
GNU Radio 3.6.5 C++ API
|
#include <wavfile_source_impl.h>

Public Member Functions | |
| wavfile_source_impl (const char *filename, bool repeat) | |
| ~wavfile_source_impl () | |
| unsigned int | sample_rate () const |
| Read the sample rate as specified in the wav file header. More... | |
| int | bits_per_sample () const |
| Return the number of bits per sample as specified in the wav file header. Only 8 or 16 bit are supported here. More... | |
| int | channels () const |
| Return the number of channels in the wav file as specified in the wav file header. This is also the max number of outputs you can have. More... | |
| 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 | |
Public Types inherited from gr::blocks::wavfile_source | |
| typedef boost::shared_ptr < wavfile_source > | sptr |
Static Public Member Functions inherited from gr::blocks::wavfile_source | |
| static sptr | make (const char *filename, bool repeat=false) |
Protected Types inherited from gr_basic_block | |
| enum | vcolor { WHITE, GREY, BLACK } |
Protected Member Functions inherited from gr_sync_block | |
| gr_sync_block (void) | |
| gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature) | |
Protected Attributes inherited from gr_block | |
| 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 |
| gr::blocks::wavfile_source_impl::wavfile_source_impl | ( | const char * | filename, |
| bool | repeat | ||
| ) |
| gr::blocks::wavfile_source_impl::~wavfile_source_impl | ( | ) |
|
inlinevirtual |
Return the number of bits per sample as specified in the wav file header. Only 8 or 16 bit are supported here.
Implements gr::blocks::wavfile_source.
|
inlinevirtual |
Return the number of channels in the wav file as specified in the wav file header. This is also the max number of outputs you can have.
Implements gr::blocks::wavfile_source.
|
inlinevirtual |
Read the sample rate as specified in the wav file header.
Implements gr::blocks::wavfile_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.