From c32407d1df875b79a22005125be6f005a5273015 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 28 Nov 2015 16:10:26 -0800 Subject: [PATCH] libobs/media-io: Increase TS smooth threshold to 70ms With certain devices (AVerMedia C985 and LGP), audio timestamps are bad, and a 50ms threshold of audio data "smoothing" (making consecutive audio packets seamless with one another) isn't enough to handle bad consecutive timestamp values. After testing, 70ms sufficiently solves the issue. --- libobs/media-io/media-io-defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/media-io/media-io-defs.h b/libobs/media-io/media-io-defs.h index 82f29aff6..f0be367d1 100644 --- a/libobs/media-io/media-io-defs.h +++ b/libobs/media-io/media-io-defs.h @@ -21,4 +21,4 @@ /* time threshold in nanoseconds to ensure audio timing is as seamless as * possible */ -#define TS_SMOOTHING_THRESHOLD 50000000ULL +#define TS_SMOOTHING_THRESHOLD 70000000ULL