Go to the documentation of this file.
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;