void stop()

in src/cubeb_aaudio.cpp [171:179]


  void stop(uint64_t timestamp)
  {
    assert(in_state<Play>() || in_state<Resume>());
    // Change to Pause and save the current time in it. Timestamp offset by the
    // elapsed time in previous Pause if stream stops again before any callback
    // clears it.
    set_pause_timestamp(in_state<Play>() ? timestamp
                                         : timestamp - get_pause_time());
  }