[−][src]Function aaudio_sys::AAudioStreamBuilder_openStream
pub unsafe extern "C" fn AAudioStreamBuilder_openStream(
builder: *mut AAudioStreamBuilder,
stream: *mut *mut AAudioStream
) -> i32
Open a stream based on the options in the StreamBuilder. Returns 0 for OK or a negative error.
AAudioStream_close() must be called when finished with the stream to recover the memory and to free the associated resources.
Available since API level 26.
Arguments
builder
- reference provided by AAudio_createStreamBuilder()stream
- pointer to a variable to receive the new stream reference