[][src]Function aaudio_sys::AAudioStream_close

pub unsafe extern "C" fn AAudioStream_close(stream: *mut AAudioStream) -> i32

Delete the internal data structures associated with the stream created by AAudioStreamBuilder_openStream().

Returns 0 for OK or a negative error.

If AAudioStream_release() has not been called then it will be called automatically.

Arguments

  • stream - reference provided by AAudioStreamBuilder_openStream()