New upstream version 26.0.0+dfsg1
This commit is contained in:
parent
8e020cdacb
commit
240080891f
837 changed files with 41275 additions and 9196 deletions
|
|
@ -24,5 +24,6 @@ add_library(test-input MODULE
|
|||
target_link_libraries(test-input
|
||||
${test-input_PLATFORM_DEPS}
|
||||
libobs)
|
||||
set_target_properties(test-input PROPERTIES FOLDER "tests and examples")
|
||||
|
||||
install_obs_plugin_with_data(test-input data)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
#include <util/bmem.h>
|
||||
#include <util/threading.h>
|
||||
#include <util/platform.h>
|
||||
#include <util/util_uint64.h>
|
||||
#include <obs.h>
|
||||
|
||||
struct sync_pair_aud {
|
||||
|
|
@ -54,7 +55,8 @@ static void *sync_pair_aud_thread(void *pdata)
|
|||
|
||||
for (uint64_t i = 0; i < frames; i++) {
|
||||
uint64_t ts =
|
||||
last_time + i * 1000000000ULL / sample_rate;
|
||||
last_time +
|
||||
util_mul_div64(i, 1000000000ULL, sample_rate);
|
||||
|
||||
if (whitelist_time(ts, interval, fps_num, fps_den)) {
|
||||
cos_val += rate * M_PI_X2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue