Lines Matching refs:WavWriter
101 WavWriter::WavWriter(const std::string& filename, int sample_rate, in WavWriter() function in webrtc::WavWriter
117 WavWriter::~WavWriter() { in ~WavWriter()
121 void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) { in WriteSamples()
132 void WavWriter::WriteSamples(const float* samples, size_t num_samples) { in WriteSamples()
142 void WavWriter::Close() { in Close()
158 new webrtc::WavWriter(filename, sample_rate, num_channels)); in rtc_WavOpen()
162 delete reinterpret_cast<webrtc::WavWriter*>(wf); in rtc_WavClose()
168 reinterpret_cast<webrtc::WavWriter*>(wf)->WriteSamples(samples, num_samples); in rtc_WavWriteSamples()
172 return reinterpret_cast<const webrtc::WavWriter*>(wf)->sample_rate(); in rtc_WavSampleRate()
176 return reinterpret_cast<const webrtc::WavWriter*>(wf)->num_channels(); in rtc_WavNumChannels()
180 return reinterpret_cast<const webrtc::WavWriter*>(wf)->num_samples(); in rtc_WavNumSamples()