23 #ifndef INCLUDED_GR_WAVFILE_SINK_H 24 #define INCLUDED_GR_WAVFILE_SINK_H 44 typedef boost::shared_ptr<wavfile_sink>
sptr;
52 static sptr make(
const char* filename,
54 unsigned int sample_rate,
55 int bits_per_sample = 16);
60 virtual bool open(
const char* filename) = 0;
66 virtual void close() = 0;
73 virtual void set_sample_rate(
unsigned int sample_rate) = 0;
81 virtual void set_bits_per_sample(
int bits_per_sample) = 0;
boost::shared_ptr< wavfile_sink > sptr
Definition: wavfile_sink.h:44
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
Write stream to a Microsoft PCM (.wav) file.
Definition: wavfile_sink.h:40