29 lines
508 B
C
29 lines
508 B
C
#include <obs.h>
|
|
#include "test-input-exports.h"
|
|
|
|
const char *inputs[] = {"random"};
|
|
const char *filters[] = {"test"};
|
|
|
|
uint32_t module_version(uint32_t in_version)
|
|
{
|
|
return LIBOBS_API_VER;
|
|
}
|
|
|
|
bool enum_inputs(size_t idx, const char **name)
|
|
{
|
|
if (idx >= (sizeof(inputs)/sizeof(const char*)))
|
|
return false;
|
|
|
|
*name = inputs[idx];
|
|
return true;
|
|
}
|
|
|
|
bool enum_filters(size_t idx, const char **name)
|
|
{
|
|
if (idx >= (sizeof(filters)/sizeof(const char*)))
|
|
return false;
|
|
|
|
*name = filters[idx];
|
|
return true;
|
|
}
|