Home
last modified time | relevance | path

Searched refs:wav_reader (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dapm_vad.cc38 WavReader wav_reader(input_file); in main() local
39 if (wav_reader.num_channels() != 1) { in main()
43 if (wav_reader.sample_rate() > kMaxSampleRate) { in main()
49 kAudioFrameLengthMilliseconds * wav_reader.sample_rate(), 1000); in main()
66 wav_reader.ReadSamples(audio_frame_len, samples.data()); in main()
70 vad.ProcessChunk(samples.data(), audio_frame_len, wav_reader.sample_rate()); in main()
Dvad.cc40 WavReader wav_reader(input_file); in main() local
41 if (wav_reader.num_channels() != 1) { in main()
45 if (wav_reader.sample_rate() > kMaxSampleRate) { in main()
51 kAudioFrameLengthMilliseconds * wav_reader.sample_rate(), 1000); in main()
70 wav_reader.ReadSamples(audio_frame_length, samples.data()); in main()
74 samples.data(), audio_frame_length, wav_reader.sample_rate()); in main()
Dsound_level.cc54 WavReader wav_reader(input_file); in main() local
55 if (wav_reader.num_channels() != 1) { in main()
59 if (wav_reader.sample_rate() > kMaxSampleRate) { in main()
67 absl::GetFlag(FLAGS_f) * wav_reader.sample_rate(), 1000); in main()
96 wav_reader.ReadSamples(audio_frame_length, samples.data()); in main()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Drnn_vad_tool.cc40 WavReader wav_reader(input_wav_file); in main() local
41 if (wav_reader.num_channels() != 1) { in main()
45 if (wav_reader.sample_rate() % 100 != 0) { in main()
49 RTC_LOG(LS_INFO) << "Input sample rate: " << wav_reader.sample_rate(); in main()
62 rtc::CheckedDivExact(wav_reader.sample_rate(), 100); in main()
76 wav_reader.ReadSamples(frame_size_10ms, samples_10ms.data()); in main()
/external/webrtc/modules/audio_processing/test/conversational_speech/
Dgenerator_unittest.cc145 auto wav_reader = wav_reader_factory.Create(filepath); in CheckAudioTrackParams() local
146 EXPECT_EQ(expeted_params.sample_rate, wav_reader->SampleRate()); in CheckAudioTrackParams()
147 EXPECT_EQ(expeted_params.num_channels, wav_reader->NumChannels()); in CheckAudioTrackParams()
148 EXPECT_EQ(expeted_params.num_samples, wav_reader->NumSamples()); in CheckAudioTrackParams()
/external/webrtc/modules/audio_device/include/
Dtest_audio_device.cc297 WavFileReader(std::unique_ptr<WavReader> wav_reader, in WavFileReader() argument
303 wav_reader_(std::move(wav_reader)), in WavFileReader()