2014-02-26 22:43:31 -08:00
|
|
|
#include <obs-module.h>
|
|
|
|
|
|
|
|
OBS_DECLARE_MODULE()
|
2014-07-09 22:12:57 -07:00
|
|
|
OBS_MODULE_USE_DEFAULT_LOCALE("mac-capture", "en-US")
|
2014-02-26 22:43:31 -08:00
|
|
|
|
2014-03-03 01:56:54 -08:00
|
|
|
extern struct obs_source_info coreaudio_input_capture_info;
|
|
|
|
extern struct obs_source_info coreaudio_output_capture_info;
|
2014-07-10 21:43:21 -07:00
|
|
|
extern struct obs_source_info display_capture_info;
|
2014-02-26 22:43:31 -08:00
|
|
|
|
|
|
|
bool obs_module_load(uint32_t libobs_version)
|
|
|
|
{
|
2014-03-03 01:56:54 -08:00
|
|
|
obs_register_source(&coreaudio_input_capture_info);
|
|
|
|
obs_register_source(&coreaudio_output_capture_info);
|
2014-07-10 21:43:21 -07:00
|
|
|
obs_register_source(&display_capture_info);
|
2014-02-26 22:43:31 -08:00
|
|
|
|
|
|
|
UNUSED_PARAMETER(libobs_version);
|
|
|
|
return true;
|
|
|
|
}
|
2014-07-09 22:12:57 -07:00
|
|
|
|
|
|
|
void obs_module_unload(void)
|
|
|
|
{
|
|
|
|
OBS_MODULE_FREE_DEFAULT_LOCALE();
|
|
|
|
}
|