pub unsafe extern "C" fn projectm_create_settings(
    settings: *const projectm_settings,
    flags: c_int
) -> projectm_handle
Expand description

@brief Creates a new projectM instance with given settings. @param settings A pointer to a projectm_settings_t with the settings to be used by the new instance. If this pointer is NULL, default settings will be used. @param flags Any combination of values from the projectm_flags enumeration. @return A projectM handle for the newly created instance that must be used in subsequent API calls. NULL if the instance could not be created successfully.