Searched refs:playout_parameters_ (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/modules/audio_device/android/ |
D | audio_manager_unittest.cc | 35 playout_parameters_ = audio_manager()->GetPlayoutAudioParameters(); in AudioManagerTest() 73 AudioParameters playout_parameters_; member in webrtc::AudioManagerTest 155 PRINT("%ssample rate: %d Hz\n", kTag, playout_parameters_.sample_rate()); in TEST_F() 156 PRINT("%schannels: %" RTC_PRIuS "\n", kTag, playout_parameters_.channels()); in TEST_F() 158 playout_parameters_.frames_per_buffer(), in TEST_F() 159 playout_parameters_.GetBufferSizeInMilliseconds()); in TEST_F() 177 EXPECT_EQ(playout_parameters_.sample_rate(), in TEST_F() 180 EXPECT_EQ(playout_parameters_.frames_per_buffer(), in TEST_F()
|
D | audio_manager.cc | 227 return (playout_parameters_.channels() == 2); in IsStereoPlayoutSupported() 299 playout_parameters_.reset(sample_rate, static_cast<size_t>(output_channels), in OnCacheAudioParameters() 306 RTC_CHECK(playout_parameters_.is_valid()); in GetPlayoutAudioParameters() 308 return playout_parameters_; in GetPlayoutAudioParameters()
|
D | audio_device_unittest.cc | 475 playout_parameters_ = audio_manager()->GetPlayoutAudioParameters(); in AudioDeviceTest() 481 int playout_sample_rate() const { return playout_parameters_.sample_rate(); } in playout_sample_rate() 483 size_t playout_channels() const { return playout_parameters_.channels(); } in playout_channels() 486 return playout_parameters_.frames_per_10ms_buffer(); in playout_frames_per_10ms_buffer() 647 AudioParameters playout_parameters_; member in webrtc::AudioDeviceTest 761 EXPECT_EQ(playout_parameters_.sample_rate(), in TEST_F() 765 EXPECT_EQ(playout_parameters_.channels(), in TEST_F()
|
D | audio_manager.h | 219 AudioParameters playout_parameters_; variable
|
/external/webrtc/sdk/objc/native/src/audio/ |
D | audio_device_ios.mm | 156 playout_parameters_.reset(config.sampleRate, config.outputNumberOfChannels); 324 RTC_DCHECK(playout_parameters_.is_valid()); 326 *params = playout_parameters_; 445 const int glitch_threshold = 1.6 * playout_parameters_.GetBufferSizeInMilliseconds(); 573 const double current_sample_rate = playout_parameters_.sample_rate(); 574 const size_t current_frames_per_buffer = playout_parameters_.frames_per_buffer(); 615 RTC_DCHECK_EQ(playout_parameters_.sample_rate(), session_sample_rate); 667 RTC_DCHECK_GT(playout_parameters_.sample_rate(), 0); 669 RTC_DCHECK_EQ(playout_parameters_.channels(), 1); 672 audio_device_buffer_->SetPlayoutSampleRate(playout_parameters_.sample_rate()); [all …]
|
D | audio_device_ios.h | 232 AudioParameters playout_parameters_; variable
|
/external/webrtc/modules/audio_device/ |
D | audio_device_unittest.cc | 422 if (!playout_parameters_.is_complete()) { in RealNeedMorePlayData() 423 playout_parameters_.reset(sample_rate, channels, samples_per_channel); in RealNeedMorePlayData() 425 EXPECT_EQ(samples_per_channel, playout_parameters_.frames_per_buffer()); in RealNeedMorePlayData() 426 EXPECT_EQ(bytes_per_frame, playout_parameters_.GetBytesPerFrame()); in RealNeedMorePlayData() 427 EXPECT_EQ(channels, playout_parameters_.channels()); in RealNeedMorePlayData() 429 playout_parameters_.sample_rate()); in RealNeedMorePlayData() 431 playout_parameters_.frames_per_10ms_buffer()); in RealNeedMorePlayData() 500 AudioParameters playout_parameters_; member in webrtc::MockAudioTransport
|