summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2003-08-16 05:10:35 +0000
committerMartin Pycko <martinp@digium.com>2003-08-16 05:10:35 +0000
commit501c800c5ac97b32d031613433f6e54b26c96338 (patch)
tree25d33da4ebede3baf10bbd03a14ef1333cc1ad4a /include
parent6fc89a80d1e901571cb3bcc55fb020724d4b9790 (diff)
Show the names of the codecs instead of the numbers (bug #92)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/frame.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h
index 37e681024..bd1bb2a72 100755
--- a/include/asterisk/frame.h
+++ b/include/asterisk/frame.h
@@ -309,6 +309,14 @@ int ast_fr_fdhangup(int fd);
//! Get a format from a name
/*!
+ * \param format id of format
+ * Gets the name of a format.
+ * This returns the name of the format in a sttring or UNKN if unknown.
+ */
+//! Get the name of a format
+extern char* ast_getformatname(int format);
+
+/*!
* \param name string of format
* Gets a format from a name.
* This returns the form of the format in binary on success, 0 on error.