Searched refs:record_parameters_ (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/modules/audio_device/android/ |
D | audio_manager_unittest.cc | 36 record_parameters_ = audio_manager()->GetRecordAudioParameters(); in AudioManagerTest() 74 AudioParameters record_parameters_; member in webrtc::AudioManagerTest 163 PRINT("%ssample rate: %d Hz\n", kTag, record_parameters_.sample_rate()); in TEST_F() 164 PRINT("%schannels: %" RTC_PRIuS "\n", kTag, record_parameters_.channels()); in TEST_F() 166 record_parameters_.frames_per_buffer(), in TEST_F() 167 record_parameters_.GetBufferSizeInMilliseconds()); in TEST_F() 178 record_parameters_.sample_rate()); in TEST_F() 181 record_parameters_.frames_per_buffer()); in TEST_F()
|
D | audio_manager.cc | 232 return (record_parameters_.channels() == 2); in IsStereoRecordSupported() 301 record_parameters_.reset(sample_rate, static_cast<size_t>(input_channels), in OnCacheAudioParameters() 312 RTC_CHECK(record_parameters_.is_valid()); in GetRecordAudioParameters() 314 return record_parameters_; in GetRecordAudioParameters()
|
D | audio_device_unittest.cc | 476 record_parameters_ = audio_manager()->GetRecordAudioParameters(); in AudioDeviceTest() 482 int record_sample_rate() const { return record_parameters_.sample_rate(); } in record_sample_rate() 484 size_t record_channels() const { return record_parameters_.channels(); } in record_channels() 489 return record_parameters_.frames_per_10ms_buffer(); in record_frames_per_10ms_buffer() 648 AudioParameters record_parameters_; member in webrtc::AudioDeviceTest 763 EXPECT_EQ(record_parameters_.sample_rate(), in TEST_F() 767 EXPECT_EQ(record_parameters_.channels(), in TEST_F()
|
D | audio_manager.h | 220 AudioParameters record_parameters_; variable
|
/external/webrtc/modules/audio_device/ |
D | audio_device_unittest.cc | 382 if (!record_parameters_.is_complete()) { in RealRecordedDataIsAvailable() 383 record_parameters_.reset(sample_rate, channels, samples_per_channel); in RealRecordedDataIsAvailable() 385 EXPECT_EQ(samples_per_channel, record_parameters_.frames_per_buffer()); in RealRecordedDataIsAvailable() 386 EXPECT_EQ(bytes_per_frame, record_parameters_.GetBytesPerFrame()); in RealRecordedDataIsAvailable() 387 EXPECT_EQ(channels, record_parameters_.channels()); in RealRecordedDataIsAvailable() 389 record_parameters_.sample_rate()); in RealRecordedDataIsAvailable() 391 record_parameters_.frames_per_10ms_buffer()); in RealRecordedDataIsAvailable() 501 AudioParameters record_parameters_; member in webrtc::MockAudioTransport
|
/external/webrtc/sdk/objc/native/src/audio/ |
D | audio_device_ios.mm | 157 record_parameters_.reset(config.sampleRate, config.inputNumberOfChannels); 332 RTC_DCHECK(record_parameters_.is_valid()); 334 *params = record_parameters_; 392 audio_buffer->mNumberChannels = record_parameters_.channels(); 668 RTC_DCHECK_GT(record_parameters_.sample_rate(), 0); 670 RTC_DCHECK_EQ(record_parameters_.channels(), 1); 674 audio_device_buffer_->SetRecordingSampleRate(record_parameters_.sample_rate()); 675 audio_device_buffer_->SetRecordingChannels(record_parameters_.channels()); 714 record_parameters_.reset(sample_rate, record_parameters_.channels(), io_buffer_duration); 715 RTC_DCHECK(record_parameters_.is_complete()); [all …]
|
D | audio_device_ios.h | 233 AudioParameters record_parameters_; variable
|