obs-studio/test/test-input/CMakeLists.txt
jp9000 dd8cf409d0 test/test-input: Add audio buffering sync test source
Adds a source which tests whether audio buffering affects audio sync.
This sync test cycles through 7 audio/video frequencies at 250
millisecond intervals, and via a hotkey, will artificially move audio
time back by one second (and the audio cycle back by 4 frequencies).
This will artificially increase audio buffering by approximately 750
milliseconds.

Results from this test as of this writing: this test proves that dynamic
audio buffering does not affect sync.
2018-01-14 01:28:28 -08:00

29 lines
513 B
CMake

project(test-input)
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs")
if(MSVC)
set(test-input_PLATFORM_DEPS
w32-pthreads)
endif()
set(test-input_SOURCES
${test-input_PLATFORM_SOURCES}
test-filter.c
test-input.c
test-sinewave.c
sync-async-source.c
sync-audio-buffering.c
sync-pair-vid.c
sync-pair-aud.c
test-random.c)
add_library(test-input MODULE
${test-input_SOURCES})
target_link_libraries(test-input
${test-input_PLATFORM_DEPS}
libobs)
install_obs_plugin_with_data(test-input data)