src/media/audio/audio_core/test/api/audio_capturer_test.cc
// Set a null clock; representing selecting the AudioCore-generated optimal clock.
Set a null clock; representing selecting the AudioCore-generated optimal clock.
Set a null clock ; representing selecting the AudioCore - generated optimal clock .
TEST_F(AudioCapturerClockTest, SetRefClock_Optimal) {
  audio_capturer_->SetReferenceClock(zx::clock(ZX_HANDLE_INVALID));
  zx::clock optimal_clock = GetAndValidateReferenceClock();
  clock::testing::VerifyReadOnlyRights(optimal_clock);
  clock::testing::VerifyIsSystemMonotonic(optimal_clock);
  clock::testing::VerifyAdvances(optimal_clock);
  clock::testing::VerifyCannotBeRateAdjusted(optimal_clock);
}
TEST_F ( AudioCapturerClockTest , SetRefClock_Optimal ) { audio_capturer_ -> SetReferenceClock ( zx :: clock ( ZX_HANDLE_INVALID ) ) ; zx :: clock optimal_clock = GetAndValidateReferenceClock ( ) ; clock :: testing :: VerifyReadOnlyRights ( optimal_clock ) ; clock :: testing :: VerifyIsSystemMonotonic ( optimal_clock ) ; clock :: testing :: VerifyAdvances ( optimal_clock ) ; clock :: testing :: VerifyCannotBeRateAdjusted ( optimal_clock ) ; }
Set a null clock; representing selecting the AudioCore-generated optimal clock.
Set a null clock ; representing selecting the AudioCore - generated optimal clock .