capi_enumerate_devices

Function capi_enumerate_devices 

Source
pub unsafe extern "C" fn capi_enumerate_devices<CTX: ContextOps>(
    c: *mut cubeb,
    devtype: cubeb_device_type,
    collection: *mut cubeb_device_collection,
) -> c_int
Expand description

ยงSafety

Entry point from C code.

This function is unsafe because it dereferences the given c and collection pointers. The caller should ensure those pointers are valid.