 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_GR_WAVFILE_SOURCE_H
24 #define INCLUDED_GR_WAVFILE_SOURCE_H
44 typedef boost::shared_ptr<wavfile_source>
sptr;
Read stream from a Microsoft PCM (.wav) file, output floats.
Definition: wavfile_source.h:41
boost::shared_ptr< wavfile_source > sptr
Definition: wavfile_source.h:44
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with history
Definition: sync_block.h:38
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:42
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
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...