Home
last modified time | relevance | path

Searched refs:WavWriter (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/common_audio/
Dwav_file.cc101 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()
[all …]
Dwav_file.h39 class WavWriter final : public WavFile {
42 WavWriter(const std::string& filename, int sample_rate, size_t num_channels);
45 ~WavWriter();
64 RTC_DISALLOW_COPY_AND_ASSIGN(WavWriter);
Dwav_file_unittest.cc31 WavWriter w(outfile, 14099, 1); in TEST()
152 WavWriter w(outfile, kSampleRate, kNumChannels); in TEST()
/external/webrtc/webrtc/modules/audio_processing/test/
Dtest_utils.h65 explicit ChannelBufferWavWriter(rtc::scoped_ptr<WavWriter> file);
69 rtc::scoped_ptr<WavWriter> file_;
77 WavWriter* wav_file,
83 WavWriter* wav_file,
Dunpack.cc86 rtc::scoped_ptr<WavWriter> reverse_wav_file; in do_main()
87 rtc::scoped_ptr<WavWriter> input_wav_file; in do_main()
88 rtc::scoped_ptr<WavWriter> output_wav_file; in do_main()
300 reverse_wav_file.reset(new WavWriter(FLAGS_reverse_file + ".wav", in do_main()
303 input_wav_file.reset(new WavWriter(FLAGS_input_file + ".wav", in do_main()
306 output_wav_file.reset(new WavWriter(FLAGS_output_file + ".wav", in do_main()
Dtest_utils.cc53 ChannelBufferWavWriter::ChannelBufferWavWriter(rtc::scoped_ptr<WavWriter> file) in ChannelBufferWavWriter()
67 WavWriter* wav_file, in WriteIntData()
80 WavWriter* wav_file, in WriteFloatData()
Daudio_file_processor.h89 rtc::scoped_ptr<WavWriter> out_file);
112 rtc::scoped_ptr<WavWriter> out_file);
Daudio_file_processor.cc46 scoped_ptr<WavWriter> out_file) in WavFileProcessor()
71 scoped_ptr<WavWriter> out_file) in AecDumpFileProcessor()
Daudioproc_float.cc131 auto out_file = rtc_make_scoped_ptr(new WavWriter( in main()
Dprocess_test.cc494 rtc::scoped_ptr<WavWriter> output_wav_file; in void_main()
646 output_wav_file.reset(new WavWriter( in void_main()
891 output_wav_file.reset(new WavWriter(out_filename + ".wav", in void_main()
1044 output_wav_file.reset(new WavWriter(out_filename + ".wav", in void_main()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/test/
Dintelligibility_proc.cc135 WavWriter out_file(temp_out_filename, FLAGS_sample_rate, kNumChannels); in void_main()
141 WavWriter out_file(FLAGS_out_file, FLAGS_sample_rate, kNumChannels); in void_main()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Doutput_wav_file.h36 WavWriter wav_writer_;
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dnonlinear_beamformer_test.cc46 WavWriter out_file(FLAGS_o, in_file.sample_rate(), 1); in main()