Home
last modified time | relevance | path

Searched refs:wav_reader (Results 1 – 7 of 7) 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.cc38 WavReader wav_reader(input_wav_file); in main() local
39 if (wav_reader.num_channels() != 1) { in main()
43 if (wav_reader.sample_rate() % 100 != 0) { in main()
47 RTC_LOG(LS_INFO) << "Input sample rate: " << wav_reader.sample_rate(); in main()
60 rtc::CheckedDivExact(wav_reader.sample_rate(), 100); in main()
73 wav_reader.ReadSamples(frame_size_10ms, samples_10ms.data()); in main()
/external/adhd/cras/client/cras_tests/src/
Daudio.rs95 wav_reader: WavReader<BufReader<File>>, field
103 let wav_reader = WavReader::open(&opts.file_name).map_err(Error::InvalidWavFile)?; in try_new() localVariable
104 let spec = wav_reader.spec(); in try_new()
131 wav_reader, in try_new()
156 let samples = self.wav_reader.samples::<i32>(); in read()
/external/webrtc/modules/audio_processing/test/conversational_speech/
Dgenerator_unittest.cc144 auto wav_reader = wav_reader_factory.Create(filepath); in CheckAudioTrackParams() local
145 EXPECT_EQ(expeted_params.sample_rate, wav_reader->SampleRate()); in CheckAudioTrackParams()
146 EXPECT_EQ(expeted_params.num_channels, wav_reader->NumChannels()); in CheckAudioTrackParams()
147 EXPECT_EQ(expeted_params.num_samples, wav_reader->NumSamples()); in CheckAudioTrackParams()
/external/webrtc/modules/audio_device/include/
Dtest_audio_device.cc303 WavFileReader(std::unique_ptr<WavReader> wav_reader, in WavFileReader() argument
309 wav_reader_(std::move(wav_reader)), in WavFileReader()