[][src]Function oboe_sys::oboe_AudioStreamBuilder_openManagedStream

pub unsafe extern "C" fn oboe_AudioStreamBuilder_openManagedStream(
    this: *mut oboe_AudioStreamBuilder,
    stream: *mut oboe_ManagedStream
) -> oboe_Result

Create and open a ManagedStream object based on the current builder state.

The caller must create a unique ptr, and pass by reference so it can be modified to point to an opened stream. The caller owns the unique ptr, and it will be automatically closed and deleted when going out of scope. @param stream Reference to the ManagedStream (uniqueptr) used to keep track of stream @return OBOE_OK if successful or a negative error code.