mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-25 22:58:29 -05:00
- Add WASAPI audio capture for windows, input and output - Check for null pointer in os_dlopen - Add exception-safe 'WinHandle' and 'CoTaskMemPtr' helper classes that will automatically call CloseHandle on handles and call CoTaskMemFree on certain types of memory returned from windows functions - Changed the wide <-> MBS/UTF8 conversion functions so that you use buffers (like these functions are *supposed* to behave), and changed the ones that allocate to a different naming scheme to be safe
14 lines
268 B
C++
14 lines
268 B
C++
#include <obs-module.h>
|
|
|
|
OBS_DECLARE_MODULE()
|
|
|
|
extern struct obs_source_info wasapiInput;
|
|
extern struct obs_source_info wasapiOutput;
|
|
|
|
bool obs_module_load(uint32_t libobs_ver)
|
|
{
|
|
obs_register_source(&wasapiInput);
|
|
obs_register_source(&wasapiOutput);
|
|
return true;
|
|
}
|