Type Alias ctru_sys::ndspAuxCallback

source ·
pub type ndspAuxCallback = Option<unsafe extern "C" fn(data: *mut c_void, nsamples: c_int, samples: *mut *mut c_void)>;
Expand description

Auxiliary output callback function. (data = User provided data, nsamples = Number of samples, samples = Sample data)

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.