[][src]Function aaudio_sys::AAudioStreamBuilder_setDirection

pub unsafe extern "C" fn AAudioStreamBuilder_setDirection(
    builder: *mut AAudioStreamBuilder,
    direction: i32
)

Request the direction for a stream.

The default, if you do not call this function, is Output.

Available since API level 26.

Arguments

  • builder - reference provided by AAudio_createStreamBuilder()
  • direction - DIRECTION_OUTPUT or DIRECTION_INPUT