23#ifndef INCLUDED_GR_WAVFILE_SOURCE_H
24#define INCLUDED_GR_WAVFILE_SOURCE_H
44 typedef boost::shared_ptr<wavfile_source>
sptr;
repeat each input repeat times
Definition repeat.h:42
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
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...
synchronous 1:1 input to output with history
Definition sync_block.h:38
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:30
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46