src/media/audio/drivers/test/admin_test.cc
// Request that the driver stop the ring buffer engine, including quieting position notifications.
// This method assumes that the ring buffer engine has previously been successfully started.
Request that the driver stop the ring buffer engine, including quieting position notifications.
This method assumes that the ring buffer engine has previously been successfully started.
Request that the driver stop the ring buffer engine including quieting position notifications . This method assumes that the ring buffer engine has previously been successfully started .
void AdminTest::RequestStop() {
  if (device_access_denied()) {
    return;
  }
  ASSERT_TRUE(received_start_);
  ring_buffer_->Stop([this]() { received_stop_ = true; });
  RunLoopUntil([this]() { return received_stop_ || device_access_denied(); });
}
void AdminTest :: RequestStop ( ) { if ( device_access_denied ( ) ) { return ; } ASSERT_TRUE ( received_start_ ) ; ring_buffer_ -> Stop ( [ this ] ( ) { received_stop_ = true ; } ) ; RunLoopUntil ( [ this ] ( ) { return received_stop_ || device_access_denied ( ) ; } ) ; }
Request that the driver stop the ring buffer engine, including quieting position notifications.
Request that the driver stop the ring buffer engine including quieting position notifications .