AAudioStreamBuilder_setDirection

Function AAudioStreamBuilder_setDirection 

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

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