commit | bd2828f64bc6646e07ddcf6b74fe544931279ff2 | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | Wed Mar 26 08:10:27 2008 +1100 |
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | Wed Mar 26 08:10:27 2008 +1100 |
tree | 0bede07a1b1f00ddb192788cd5fecbd8454372ef | |
parent | d9584dbafcfe76b1780c76e1c2b7e472dba71577 [diff] [blame] |
Decision on whether to use pitch is now taken only based on energy in the first three bands (instead of total MDCT window energy)
diff --git a/libcelt/arch.h b/libcelt/arch.h index f52fb12..0e41cce 100644 --- a/libcelt/arch.h +++ b/libcelt/arch.h
@@ -80,6 +80,7 @@ #define ENER_SCALING 16384.f #define ENER_SCALING_1 (1.f/16384.f) +#define ENER_SHIFT 14 #define PGAIN_SCALING 32768.f #define PGAIN_SCALING_1 (1.f/32768.f)