AAudio_createStreamBuilder

Function AAudio_createStreamBuilder 

Source
pub unsafe extern "C" fn AAudio_createStreamBuilder(
    builder: *mut *mut AAudioStreamBuilder,
) -> i32
Expand description

Create a StreamBuilder that can be used to open a Stream.

The deviceId is initially unspecified, meaning that the current default device will be used.

The default direction is DIRECTION_OUTPUT. The default sharing mode is SHARING_MODE_SHARED. The data format, samplesPerFrames and sampleRate are unspecified and will be chosen by the device when it is opened.

AAudioStreamBuilder_delete() must be called when you are done using the builder.

Available since API level 26.