11#ifndef INCLUDED_GR_WAVFILE_SOURCE_H
12#define INCLUDED_GR_WAVFILE_SOURCE_H
32 typedef std::shared_ptr<wavfile_source>
sptr;
repeat each input repeat times
Definition repeat.h:30
Read stream from a Microsoft PCM (.wav) file, output floats.
Definition wavfile_source.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 unsigned int sample_rate() const =0
Read the sample rate 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...
std::shared_ptr< wavfile_source > sptr
Definition wavfile_source.h:32
synchronous 1:1 input to output with history
Definition sync_block.h:26
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition basic_block.h:29