Searched refs:wav_reader (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
D | apm_vad.cc | 38 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()
|
D | vad.cc | 40 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()
|
D | sound_level.cc | 54 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/ |
D | rnn_vad_tool.cc | 38 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/ |
D | audio.rs | 95 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/ |
D | generator_unittest.cc | 144 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/ |
D | test_audio_device.cc | 303 WavFileReader(std::unique_ptr<WavReader> wav_reader, in WavFileReader() argument 309 wav_reader_(std::move(wav_reader)), in WavFileReader()
|