From dbe22f113bc70b0c3714f537497edeb1a087e84f Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Mon, 26 Jun 2017 13:02:23 -0400 Subject: Working around misdetected audio bandwidth The new detector for SWB vs FB is unreliable due to the hack that was required to get 24 kHz analysis working. We're now err on the side of FB just to make sure. --- src/analysis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/analysis.h') diff --git a/src/analysis.h b/src/analysis.h index b94a0c91..cac51dfa 100644 --- a/src/analysis.h +++ b/src/analysis.h @@ -55,6 +55,7 @@ typedef struct { int mem_fill; /* number of usable samples in the buffer */ float prev_band_tonality[NB_TBANDS]; float prev_tonality; + int prev_bandwidth; float E[NB_FRAMES][NB_TBANDS]; float logE[NB_FRAMES][NB_TBANDS]; float lowE[NB_TBANDS]; -- cgit v1.2.3