Type Alias ndk_sys::AAudioStream_dataCallback

source ·
pub type AAudioStream_dataCallback = Option<unsafe extern "C" fn(stream: *mut AAudioStream, userData: *mut c_void, audioData: *mut c_void, numFrames: i32) -> aaudio_data_callback_result_t>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.