Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2017-06-26 20:02:23 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-06-26 20:02:23 +0300
commitdbe22f113bc70b0c3714f537497edeb1a087e84f (patch)
tree2299460f7fd274532971c60d644e9d6e928d76f6 /src/analysis.h
parentacfa035bf7b5bbe68351c4a3bb41239ea882ff71 (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.h1
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];