shithub: opus

Download patch

ref: 72c93e05230e89631c94af38320f3dfe8358ca24
parent: 2d98cedd0efa745143c7b826a695385fe262fbec
author: Jean-Marc Valin <jmvalin@amazon.com>
date: Mon Dec 19 22:43:15 EST 2022

reenable DRED

--- a/src/opus_demo.c
+++ b/src/opus_demo.c
@@ -787,7 +787,7 @@
             if (run_decoder)
                 run_decoder += lost_count;
             if (!lost && lost_count > 0) {
-                opus_decoder_dred_input(dec, data, len, 2);
+                opus_decoder_dred_input(dec, data, len, 100);
             }
             /* FIXME: Figure out how to trigger the decoder when the last packet of the file is lost. */
             for (fr=0;fr<run_decoder;fr++) {
--