Go to the documentation of this file.
23 #ifndef INCLUDED_GR_WAVFILE_SINK_H
24 #define INCLUDED_GR_WAVFILE_SINK_H
29 #include <boost/thread.hpp>
43 unsigned int sample_rate,
44 int bits_per_sample = 16);
59 unsigned int sample_rate,
64 unsigned int sample_rate,
67 unsigned d_sample_rate;
69 unsigned d_sample_count;
70 int d_bytes_per_sample;
71 int d_bytes_per_sample_new;
74 int d_normalize_shift;
86 short convert_to_short(
float sample);
102 bool open(
const char* filename);
122 void set_sample_rate(
unsigned int sample_rate);
129 void set_bits_per_sample(
int bits_per_sample);
132 int work(
int noutput_items,