2013-11-26 22:07:27 -08:00
|
|
|
#include <obs.h>
|
2013-09-30 19:37:13 -07:00
|
|
|
#include "test-input-exports.h"
|
|
|
|
|
|
|
|
const char *inputs[] = {"random"};
|
|
|
|
const char *filters[] = {"test"};
|
|
|
|
|
2013-11-13 05:24:20 -08:00
|
|
|
uint32_t module_version(uint32_t in_version)
|
|
|
|
{
|
|
|
|
return LIBOBS_API_VER;
|
|
|
|
}
|
|
|
|
|
2013-09-30 19:37:13 -07:00
|
|
|
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;
|
|
|
|
}
|