From f6908357c99787b59fbe68ce7cab2e37955dd4f6 Mon Sep 17 00:00:00 2001 From: Mickael Rouvier <mickael.rouvier@gmail.com> Date: Sun, 22 Feb 2015 21:53:04 +0100 Subject: [PATCH] disable on-the-fly adaptation --- src/gstkaldinnet2onlinedecoder.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gstkaldinnet2onlinedecoder.cc b/src/gstkaldinnet2onlinedecoder.cc index d63ad9a..d4ddcd7 100644 --- a/src/gstkaldinnet2onlinedecoder.cc +++ b/src/gstkaldinnet2onlinedecoder.cc @@ -886,11 +886,14 @@ static void gst_kaldinnet2onlinedecoder_loop( //fprintf(stderr, " END final_result ()\n"); if (true || num_words > 0) { // Only update adaptation state if the utterance was not empty + // No adaptation + /* #ifdef THREADED_DECODER decoder.GetAdaptationState(filter->adaptation_state); #else feature_pipeline.GetAdaptationState(filter->adaptation_state); #endif +*/ } } else { GST_DEBUG_OBJECT(filter, "Less than 0.1 seconds decoded, discarding"); -- GitLab