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

github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Marsev <alex.marsev@gmail.com>2015-10-17 02:07:04 +0300
committerAlex Marsev <alex.marsev@gmail.com>2015-10-17 08:02:15 +0300
commit44686e41058059e008eb949b1c842198b0f43fc1 (patch)
treed8cac42bdbea6e5df69d787640197f591e6dde61 /src
parent2b63d17177d2bf1e666e187623194c8538c1d6c0 (diff)
Don't pad more than ten seconds
Even ten seconds are far above any realistic value.
Diffstat (limited to 'src')
-rw-r--r--src/SampleCorrection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SampleCorrection.cpp b/src/SampleCorrection.cpp
index c1d93aa..8aafcbf 100644
--- a/src/SampleCorrection.cpp
+++ b/src/SampleCorrection.cpp
@@ -81,7 +81,7 @@ namespace SaneAudioRenderer
const size_t padFrames = (size_t)TimeToFrames(sampleProps.tStart - m_lastFrameEnd);
if (padFrames > 0 &&
- FramesToTime(padFrames) < 600 * OneSecond)
+ FramesToTime(padFrames) < 10 * OneSecond)
{
DebugOut("SampleCorrection pad", padFrames, "frames before [",
sampleProps.tStart, sampleProps.tStop, "]");