Home
last modified time | relevance | path

Searched refs:wav_reader_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_processing/test/conversational_speech/
Dwavreader_factory.cc28 : wav_reader_(filepath) {} in WavReaderAdaptor()
32 return wav_reader_.ReadSamples(samples.size(), samples.begin()); in ReadFloatSamples()
36 return wav_reader_.ReadSamples(samples.size(), samples.begin()); in ReadInt16Samples()
39 int SampleRate() const override { return wav_reader_.sample_rate(); } in SampleRate()
41 size_t NumChannels() const override { return wav_reader_.num_channels(); } in NumChannels()
43 size_t NumSamples() const override { return wav_reader_.num_samples(); } in NumSamples()
46 WavReader wav_reader_; member in webrtc::test::__anone5652fbc0111::WavReaderAdaptor
/external/webrtc/modules/audio_mixer/
Daudio_mixer_test.cc50 : wav_reader_(new WavReader(filename)), in FilePlayingSource()
51 sample_rate_hz_(wav_reader_->sample_rate()), in FilePlayingSource()
53 number_of_channels_(wav_reader_->num_channels()) {} in FilePlayingSource()
65 wav_reader_->ReadSamples(num_to_read, frame->mutable_data()); in GetAudioFrameWithInfo()
83 << ", samples_tot: " << wav_reader_->num_samples() << "}"; in ToString()
88 std::unique_ptr<WavReader> wav_reader_; member in webrtc::test::FilePlayingSource
/external/webrtc/modules/audio_device/include/
Dtest_audio_device.cc287 size_t read = wav_reader_->ReadSamples(data.size(), data.data()); in Capture()
290 wav_reader_->Reset(); in Capture()
291 size_t delta = wav_reader_->ReadSamples( in Capture()
309 wav_reader_(std::move(wav_reader)), in WavFileReader()
311 RTC_CHECK_EQ(wav_reader_->sample_rate(), sampling_frequency_in_hz); in WavFileReader()
312 RTC_CHECK_EQ(wav_reader_->num_channels(), num_channels); in WavFileReader()
317 std::unique_ptr<WavReader> wav_reader_; member in webrtc::__anon9ec0e82d0111::WavFileReader