summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/autoconfig.h.in3
-rw-r--r--include/asterisk/format_cache.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in
index bdd93bb64..f9a6b46e4 100644
--- a/include/asterisk/autoconfig.h.in
+++ b/include/asterisk/autoconfig.h.in
@@ -145,6 +145,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
@@ -209,6 +209,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.
*/
extern struct ast_format *ast_format_t140;