plugin-main.cpp 368 B

123456789101112131415161718192021
  1. #include <obs-module.h>
  2. OBS_DECLARE_MODULE()
  3. OBS_MODULE_USE_DEFAULT_LOCALE("win-wasapi", "en-US")
  4. void RegisterWASAPIInput();
  5. void RegisterWASAPIOutput();
  6. bool obs_module_load(uint32_t libobs_ver)
  7. {
  8. UNUSED_PARAMETER(libobs_ver);
  9. RegisterWASAPIInput();
  10. RegisterWASAPIOutput();
  11. return true;
  12. }
  13. void obs_module_unload(void)
  14. {
  15. OBS_MODULE_FREE_DEFAULT_LOCALE();
  16. }