src/media/audio/audio_core/test/api/audio_capturer_test.cc
// If client-submitted clock has ZX_RIGHT_WRITE, this should be removed upon GetReferenceClock
If client-submitted clock has ZX_RIGHT_WRITE, this should be removed upon GetReferenceClock
If client - submitted clock has ZX_RIGHT_WRITE this should be removed upon GetReferenceClock
TEST_F(AudioCapturerClockTest, GetRefClock_RemovesWriteRight) {
  audio_capturer_->SetReferenceClock(clock::AdjustableCloneOfMonotonic());
  zx::clock received_clock = GetAndValidateReferenceClock();
  clock::testing::VerifyReadOnlyRights(received_clock);
}
TEST_F ( AudioCapturerClockTest , GetRefClock_RemovesWriteRight ) { audio_capturer_ -> SetReferenceClock ( clock :: AdjustableCloneOfMonotonic ( ) ) ; zx :: clock received_clock = GetAndValidateReferenceClock ( ) ; clock :: testing :: VerifyReadOnlyRights ( received_clock ) ; }
If client-submitted clock has ZX_RIGHT_WRITE, this should be removed upon GetReferenceClock
If client - submitted clock has ZX_RIGHT_WRITE this should be removed upon GetReferenceClock