AAudioStream_getFramesWritten

Function AAudioStream_getFramesWritten 

Source
pub unsafe extern "C" fn AAudioStream_getFramesWritten(
    stream: *mut AAudioStream,
) -> i64
Expand description

Passes back the number of frames that have been written since the stream was created. For an output stream, this will be advanced by the application calling write() or by a data callback. For an input stream, this will be advanced by the endpoint.

The frame position is monotonically increasing.

Available since API level 26.

ยงArguments

  • stream - reference provided by AAudioStreamBuilder_openStream()