src/media/audio/audio_core/test/api/audio_capturer_test.cc
// Regardless of the type of clock, calling SetReferenceClock a second time should fail.
Regardless of the type of clock, calling SetReferenceClock a second time should fail.
Regardless of the type of clock calling SetReferenceClock a second time should fail .
TEST_F(AudioCapturerClockTest, SetRefClock_CustomThenOptimalShouldDisconnect) {
  audio_capturer_->SetReferenceClock(clock::AdjustableCloneOfMonotonic());
  audio_capturer_->SetReferenceClock(zx::clock(ZX_HANDLE_INVALID));
  ExpectDisconnect(audio_capturer_);
}
TEST_F ( AudioCapturerClockTest , SetRefClock_CustomThenOptimalShouldDisconnect ) { audio_capturer_ -> SetReferenceClock ( clock :: AdjustableCloneOfMonotonic ( ) ) ; audio_capturer_ -> SetReferenceClock ( zx :: clock ( ZX_HANDLE_INVALID ) ) ; ExpectDisconnect ( audio_capturer_ ) ; }
Regardless of the type of clock, calling SetReferenceClock a second time should fail.
Regardless of the type of clock calling SetReferenceClock a second time should fail .