summaryrefslogtreecommitdiff
path: root/src/analysis.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-09-06 16:00:39 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-09-06 16:00:39 -0400
commit3ab03e05561f81f0eacac3ee724baac33b89683b (patch)
tree27fa7ce390c3dc47fe43d20ae10d88ce13fe02a5 /src/analysis.h
parent91904a4c91eb19abcebe843045f4599ee67adbee (diff)
downloadopus-3ab03e05561f81f0eacac3ee724baac33b89683b.tar.gz
First pass at making the analysis code run with FIXED_POINT
Code is still float, but at least tonality esitmation seems to work. Speech/music analysis is still disabled.
Diffstat (limited to 'src/analysis.h')
-rw-r--r--src/analysis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analysis.h b/src/analysis.h
index 4371a577..ebd36c86 100644
--- a/src/analysis.h
+++ b/src/analysis.h
@@ -42,7 +42,7 @@ typedef struct {
float angle[240];
float d_angle[240];
float d2_angle[240];
- float inmem[ANALYSIS_BUF_SIZE];
+ opus_val32 inmem[ANALYSIS_BUF_SIZE];
int mem_fill; /* number of usable samples in the buffer */
float prev_band_tonality[NB_TBANDS];
float prev_tonality;