Function cubeb_backend::capi::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.