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>2016-12-17 01:52:15 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-12-20 23:33:27 +0300
commitcf9409fe51fa425d176e74c2e3bc4b7a9b5e9086 (patch)
treef7b9984bc1feb07b6fa76772c7b4f50294603ca2 /celt/arch.h
parent159bb6df002560749866587becf3dc33541fec1d (diff)
Makes analysis run at 24 kHz, with 20-ms frames
The change also makes the analysis run for sampling rates of 16 kHz and 24 kHz since the features are only computed on the 0-8 kHz band. The longer time window (20 ms instead of 10 ms) makes the tonality estimator more reliable for low-pitch harmonics.
Diffstat (limited to 'celt/arch.h')
-rw-r--r--celt/arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/celt/arch.h b/celt/arch.h
index 9eb37d8f..9eedf74d 100644
--- a/celt/arch.h
+++ b/celt/arch.h
@@ -101,6 +101,7 @@ static OPUS_INLINE void _celt_fatal(const char *str, const char *file, int line)
typedef opus_int16 opus_val16;
typedef opus_int32 opus_val32;
+typedef opus_int64 opus_val64;
typedef opus_val32 celt_sig;
typedef opus_val16 celt_norm;
@@ -158,6 +159,7 @@ static OPUS_INLINE opus_int16 SAT16(opus_int32 x) {
typedef float opus_val16;
typedef float opus_val32;
+typedef float opus_val64;
typedef float celt_sig;
typedef float celt_norm;