Type Alias ndk_sys::AAudioStream_errorCallback

source ·
pub type AAudioStream_errorCallback = Option<unsafe extern "C" fn(stream: *mut AAudioStream, userData: *mut c_void, error: aaudio_result_t)>;

Aliased Type§

enum AAudioStream_errorCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut AAudioStreamStruct, _: *mut c_void, _: i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut AAudioStreamStruct, _: *mut c_void, _: i32))

Some value of type T.