aboutsummaryrefslogtreecommitdiff
path: root/celt/arch.h
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-07-11 00:04:24 -0400
committerGregory Maxwell <greg@xiph.org>2012-07-11 00:04:24 -0400
commit28b41ae5ae1acf6eb222858567952564838d48f5 (patch)
tree4f9f1c48748f499c8730515ca5b9b1c0633324d3 /celt/arch.h
parentc329045758ccd614284f0b7cca859bc046ba1ae3 (diff)
downloadlibopus-28b41ae5ae1acf6eb222858567952564838d48f5.tar.gz
Add OPUS_{GET|SET}_GAIN CTLs for adjusting output gain.
This CTL was requested by Nicolas George for FFmpeg.
Diffstat (limited to 'celt/arch.h')
-rw-r--r--celt/arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/celt/arch.h b/celt/arch.h
index a7cfbe89..03cda40f 100644
--- a/celt/arch.h
+++ b/celt/arch.h
@@ -188,6 +188,7 @@ typedef float celt_ener;
#define MULT16_16_P15(a,b) ((a)*(b))
#define MULT16_16_P13(a,b) ((a)*(b))
#define MULT16_16_P14(a,b) ((a)*(b))
+#define MULT16_32_P16(a,b) ((a)*(b))
#define DIV32_16(a,b) (((opus_val32)(a))/(opus_val16)(b))
#define DIV32(a,b) (((opus_val32)(a))/(opus_val32)(b))