[−][src]Function aaudio_sys::AAudioStream_requestStop
pub unsafe extern "C" fn AAudioStream_requestStop(
stream: *mut AAudioStream
) -> i32
Asynchronous request for the stream to stop.
The stream will stop after all of the data currently buffered has been played.
After this call the state will be in Stopping
or Stopped
.
Returns 0 for OK or a negative error.
Available since API level 26.
stream
- reference provided by AAudioStreamBuilder_openStream()