11 #ifndef INCLUDED_GR_WAVFILE_SINK_H 12 #define INCLUDED_GR_WAVFILE_SINK_H 33 typedef std::shared_ptr<wavfile_sink>
sptr;
43 static sptr make(
const char* filename,
53 virtual bool open(
const char* filename) = 0;
59 virtual void close() = 0;
66 virtual void set_sample_rate(
unsigned int sample_rate) = 0;
74 virtual void set_bits_per_sample(
int bits_per_sample) = 0;
81 virtual void set_append(
bool append) = 0;
wavfile_subformat_t
Definition: wavfile.h:51
wavfile_format_t
Definition: wavfile.h:44
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< wavfile_sink > sptr
Definition: wavfile_sink.h:33
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:25
Write stream to a Microsoft PCM (.wav) file.
Definition: wavfile_sink.h:29