From 2e79f52d7116e5529ab78972cee8081b6ffe6878 Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Tue, 19 Jul 2016 20:14:21 +0200 Subject: codecs: Add Codec 2 mode 2400. ASTERISK-26217 #close Change-Id: I1e45d8084683fab5f2b272bf35f4a149cea8b8d6 --- include/asterisk/autoconfig.h.in | 3 +++ include/asterisk/format_cache.h | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'include/asterisk') diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index 51f0f1462..7d2a08c8a 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -142,6 +142,9 @@ /* Define to 1 if you have the `closefrom' function. */ #undef HAVE_CLOSEFROM +/* Define to 1 if you have the Codec 2 Audio Decoder/Encoder library. */ +#undef HAVE_CODEC2 + /* Define to 1 if you have the Corosync library. */ #undef HAVE_COROSYNC diff --git a/include/asterisk/format_cache.h b/include/asterisk/format_cache.h index 3894ad21b..6099c59ea 100644 --- a/include/asterisk/format_cache.h +++ b/include/asterisk/format_cache.h @@ -208,6 +208,11 @@ extern struct ast_format *ast_format_siren7; */ extern struct ast_format *ast_format_opus; +/*! + * \brief Built-in cached Codec 2 format. + */ +extern struct ast_format *ast_format_codec2; + /*! * \brief Built-in cached t140 format. */ -- cgit v1.2.3