23 #ifndef INCLUDED_GR_WAVFILE_SINK_H
24 #define INCLUDED_GR_WAVFILE_SINK_H
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;
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
boost::shared_ptr< wavfile_sink > sptr
Definition: wavfile_sink.h:44
#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