]> git.sesse.net Git - nageru/blobdiff - resampler.h
Send audio all the way through to the encoder and muxer.
[nageru] / resampler.h
index 80ed1af0b455caffd091a9f7e707b86be6c7147f..aa7af3dd3feff07fe600d3c2b12dc99af751b228 100644 (file)
@@ -80,7 +80,7 @@ private:
        // How much delay we are expected to have, in input samples.
        // If actual delay drifts too much away from this, we will start
        // changing the resampling ratio to compensate.
-       double expected_delay = 4800.0;
+       double expected_delay = 1600.0;
 
        // Input samples not yet fed into the resampler.
        // TODO: Use a circular buffer instead, for efficiency.