 |
GNU Radio C++ API Reference
3.10.12.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_GR_WAVFILE_SOURCE_H
12 #define INCLUDED_GR_WAVFILE_SOURCE_H
32 typedef std::shared_ptr<wavfile_source>
sptr;
Read stream from a Microsoft PCM (.wav) file, output floats.
Definition: wavfile_source.h:29
std::shared_ptr< wavfile_source > sptr
Definition: wavfile_source.h:32
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
synchronous 1:1 input to output with history
Definition: sync_block.h:26
virtual unsigned int sample_rate() const =0
Read the sample rate as specified in the wav file header.
repeat each input repeat times
Definition: repeat.h:30
GNU Radio logging wrapper.
Definition: basic_block.h:29
static sptr make(const char *filename, bool repeat=false)
virtual int channels() const =0
Return the number of channels in the wav file as specified in the wav file header....
virtual int bits_per_sample() const =0
Return the number of bits per sample as specified in the wav file header. Only 8 or 16 bit are suppor...