dd8cf409d0
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.
29 lines
513 B
CMake
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)
|