Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-01-30 20:54:37 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-01-30 20:54:37 +0300
commit393216629c85238f536747b0a434c1f669ea6e17 (patch)
tree82d18537c641f43fd7ffab12aab6b3da33c0f2ed /decoder
parent71fa8362a2b6f1b48c5bcec667d275f3b5db1b1a (diff)
Increase minimum PCM buffering by 50%.
This should hopefully ensure smooth playback of TrueHD and similar formats and avoid stuttering with some audio renderers.
Diffstat (limited to 'decoder')
-rw-r--r--decoder/LAVAudio/LAVAudio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder/LAVAudio/LAVAudio.h b/decoder/LAVAudio/LAVAudio.h
index c6634e2b..83408ced 100644
--- a/decoder/LAVAudio/LAVAudio.h
+++ b/decoder/LAVAudio/LAVAudio.h
@@ -37,8 +37,8 @@
// Maximum Durations (in reference time)
// 10ms (DTS has 10.6667 ms samples, don't want to queue them up)
#define PCM_BUFFER_MAX_DURATION 100000
-// 4ms
-#define PCM_BUFFER_MIN_DURATION 40000
+// 6ms
+#define PCM_BUFFER_MIN_DURATION 60000
// Maximum desync that we attribute to jitter before re-syncing (10ms)
#define MAX_JITTER_DESYNC 100000i64