mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-22 13:18:34 -05:00
This functionality can now be handled automatically because locale can now be freed seaparately from obs_module_unload with obs_module_free_locale, which is called automatically when the module is being freed.
17 lines
472 B
C
17 lines
472 B
C
#include <obs-module.h>
|
|
|
|
OBS_DECLARE_MODULE()
|
|
OBS_MODULE_USE_DEFAULT_LOCALE("mac-capture", "en-US")
|
|
|
|
extern struct obs_source_info coreaudio_input_capture_info;
|
|
extern struct obs_source_info coreaudio_output_capture_info;
|
|
extern struct obs_source_info display_capture_info;
|
|
|
|
bool obs_module_load(void)
|
|
{
|
|
obs_register_source(&coreaudio_input_capture_info);
|
|
obs_register_source(&coreaudio_output_capture_info);
|
|
obs_register_source(&display_capture_info);
|
|
return true;
|
|
}
|