- Implement a means of obtaining default settings for an input/output/encoder. obs_source_defaults for example will return the default settings for a particular source type. - Because C++ doesn't have designated initializers, use functions in the WASAPI plugin to register the sources instead.
14 lines
214 B
C++
14 lines
214 B
C++
#include <obs-module.h>
|
|
|
|
OBS_DECLARE_MODULE()
|
|
|
|
void RegisterWASAPIInput();
|
|
void RegisterWASAPIOutput();
|
|
|
|
bool obs_module_load(uint32_t libobs_ver)
|
|
{
|
|
RegisterWASAPIInput();
|
|
RegisterWASAPIOutput();
|
|
return true;
|
|
}
|