pub unsafe extern "C" fn AAudioStream_getState(
stream: *mut AAudioStream,
) -> i32Expand description
Query the current state of the client, eg. Pausing.
This function will immediately return the state without updating the state.
If you want to update the client state based on the server state then
call AAudioStream_waitForStateChange() with currentState
set to Unknown and a zero timeout.
Available since API level 26.
ยงArguments
stream- reference provided by AAudioStreamBuilder_openStream()