This adds streaming and recording timers to the frontend tools. Closes jp9000/obs-studio#625
29 lines
515 B
C
29 lines
515 B
C
#include <obs-module.h>
|
|
|
|
OBS_DECLARE_MODULE()
|
|
OBS_MODULE_USE_DEFAULT_LOCALE("frontend-tools", "en-US")
|
|
|
|
#if defined(_WIN32) || defined(__APPLE__)
|
|
void InitSceneSwitcher();
|
|
void FreeSceneSwitcher();
|
|
#endif
|
|
void InitOutputTimer();
|
|
void FreeOutputTimer();
|
|
|
|
bool obs_module_load(void)
|
|
{
|
|
#if defined(_WIN32) || defined(__APPLE__)
|
|
InitSceneSwitcher();
|
|
#endif
|
|
InitOutputTimer();
|
|
return true;
|
|
}
|
|
|
|
void obs_module_unload(void)
|
|
{
|
|
#if defined(_WIN32) || defined(__APPLE__)
|
|
FreeSceneSwitcher();
|
|
#endif
|
|
FreeOutputTimer();
|
|
}
|