diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2017-06-26 20:02:23 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2017-06-26 20:02:23 +0300 |
commit | dbe22f113bc70b0c3714f537497edeb1a087e84f (patch) | |
tree | 2299460f7fd274532971c60d644e9d6e928d76f6 /src/analysis.h | |
parent | acfa035bf7b5bbe68351c4a3bb41239ea882ff71 (diff) |
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.
Diffstat (limited to 'src/analysis.h')
-rw-r--r-- | src/analysis.h | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |