The async source sync test verifies that async sources are playing back in sync properly, and the "sync pair (video)" and "sync pair (audio)" sources test the back-end syncing down to the exact sample via inserting audio data directly in to the back-end with system timestamps. For these sources, when the video is white, a C sinewave should be playing, and when the video is black audio is mute.
22 lines
575 B
C
22 lines
575 B
C
#include <obs-module.h>
|
|
|
|
OBS_DECLARE_MODULE()
|
|
|
|
extern struct obs_source_info test_random;
|
|
extern struct obs_source_info test_sinewave;
|
|
extern struct obs_source_info test_filter;
|
|
extern struct obs_source_info async_sync_test;
|
|
extern struct obs_source_info sync_video;
|
|
extern struct obs_source_info sync_audio;
|
|
|
|
bool obs_module_load(void)
|
|
{
|
|
obs_register_source(&test_random);
|
|
obs_register_source(&test_sinewave);
|
|
obs_register_source(&test_filter);
|
|
obs_register_source(&async_sync_test);
|
|
obs_register_source(&sync_video);
|
|
obs_register_source(&sync_audio);
|
|
return true;
|
|
}
|