summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-05-04 23:54:20 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-05-05 02:44:54 -0400
commita4dccd3f659eb60b8b3caa8b04688246851454bf (patch)
tree6694b3f478c8ab0f449b139e59d6245865d05b80 /include
parent7a8b1399d24e2da23350d1ce219bdd3fcef26183 (diff)
downloadopus-a4dccd3f659eb60b8b3caa8b04688246851454bf.tar.gz
Implements basic surround masking
The idea is that the rate of each stream is adjusted based on its contribution to the total energy of a stereo downmix.
Diffstat (limited to 'include')
-rw-r--r--include/opus_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opus_defines.h b/include/opus_defines.h
index 203144a7..00918b89 100644
--- a/include/opus_defines.h
+++ b/include/opus_defines.h
@@ -158,6 +158,7 @@ extern "C" {
#define __opus_check_int(x) (((void)((x) == (opus_int32)0)), (opus_int32)(x))
#define __opus_check_int_ptr(ptr) ((ptr) + ((ptr) - (opus_int32*)(ptr)))
#define __opus_check_uint_ptr(ptr) ((ptr) + ((ptr) - (opus_uint32*)(ptr)))
+#define __opus_check_val16_ptr(ptr) ((ptr) + ((ptr) - (opus_val16*)(ptr)))
/** @endcond */
/** @defgroup opus_ctlvalues Pre-defined values for CTL interface