aboutsummaryrefslogtreecommitdiff
path: root/src/analysis.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-11-13 11:57:31 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-11-13 11:57:31 -0500
commit8848171b2fd695ae1db362286db40b5588005c37 (patch)
tree620b4e29c0488cd71763e9cec8982c40cd045306 /src/analysis.h
parent8ea01eed109b3621f3b9e0186ac017119509a5dc (diff)
downloadlibopus-8848171b2fd695ae1db362286db40b5588005c37.tar.gz
Variable frame size fixes (still not exposed in the API)
This fixes an actual error in the downmix (using the float version even for the int API), as well as a bunch of conversion warnings.
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 cf37792d..be0388fa 100644
--- a/src/analysis.h
+++ b/src/analysis.h
@@ -60,7 +60,7 @@ typedef struct {
int last_music;
int last_transition;
int count;
- opus_val32 subframe_mem[3];
+ float subframe_mem[3];
int analysis_offset;
/** Probability of having speech for time i to DETECT_SIZE-1 (and music before).
pspeech[0] is the probability that all frames in the window are speech. */