[][src]Function oboe_sys::oboe_AudioStream_waitForStateTransition

pub unsafe extern "C" fn oboe_AudioStream_waitForStateTransition(
    this: *mut c_void,
    startingState: oboe_StreamState,
    endingState: oboe_StreamState,
    timeoutNanoseconds: i64
) -> oboe_Result

Wait for a transition from one state to another. @return OK if the endingState was observed, or ErrorUnexpectedState if any state that was not the startingState or endingState was observed or ErrorTimeout.