فهرست منبع

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.
jp9000 10 سال پیش
والد
کامیت
c32407d1df
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      libobs/media-io/media-io-defs.h

+ 1 - 1
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