892fdea83e
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.
15 lines
252 B
C++
15 lines
252 B
C++
#include <obs-module.h>
|
|
|
|
OBS_DECLARE_MODULE()
|
|
OBS_MODULE_USE_DEFAULT_LOCALE("win-wasapi", "en-US")
|
|
|
|
void RegisterWASAPIInput();
|
|
void RegisterWASAPIOutput();
|
|
|
|
bool obs_module_load(void)
|
|
{
|
|
RegisterWASAPIInput();
|
|
RegisterWASAPIOutput();
|
|
return true;
|
|
}
|