obs_core结构体
2024-06-20
14
0
struct obs_core {
struct obs_module *first_module;
DARRAY(struct obs_module_path) module_paths;
DARRAY(char *) safe_modules;
obs_source_info_array_t source_types;
obs_source_info_array_t input_types;
obs_source_info_array_t filter_types;
obs_source_info_array_t transition_types;
DARRAY(struct obs_output_info) output_types;
DARRAY(struct obs_encoder_info) encoder_types;
DARRAY(struct obs_service_info) service_types;
signal_handler_t *signals;
proc_handler_t *procs;
char *locale;
char *module_config_path;
bool name_store_owned;
profiler_name_store_t *name_store;
/* segmented into multiple sub-structures to keep things a bit more
* clean and organized */
struct obs_core_video video;
struct obs_core_audio audio;
struct obs_core_data data;
struct obs_core_hotkeys hotkeys;
os_task_queue_t *destruction_task_thread;
obs_task_handler_t ui_task_handler;
};