plugin-main.cpp 363 B

123456789101112131415161718
  1. #include <obs-module.h>
  2. OBS_DECLARE_MODULE()
  3. OBS_MODULE_USE_DEFAULT_LOCALE("win-wasapi", "en-US")
  4. MODULE_EXPORT const char *obs_module_description(void)
  5. {
  6. return "Windows WASAPI audio input/ouput sources";
  7. }
  8. void RegisterWASAPIInput();
  9. void RegisterWASAPIOutput();
  10. bool obs_module_load(void)
  11. {
  12. RegisterWASAPIInput();
  13. RegisterWASAPIOutput();
  14. return true;
  15. }