Function obs_sys::obs_source_create

source ·
pub unsafe extern "C" fn obs_source_create(
    id: *const c_char,
    name: *const c_char,
    settings: *mut obs_data_t,
    hotkey_data: *mut obs_data_t
) -> *mut obs_source_t
Expand description

Creates a source of the specified type with the specified settings.

The “source” context is used for anything related to presenting or modifying video/audio. Use obs_source_release to release it.