From c3ef7b672f25621ba670ba22955a3dfc0953c739 Mon Sep 17 00:00:00 2001 From: martinp Date: Sat, 16 Aug 2003 05:10:35 +0000 Subject: Show the names of the codecs instead of the numbers (bug #92) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1348 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/frame.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') 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 @@ -308,6 +308,14 @@ int ast_fr_fdwrite(int fd, struct ast_frame *frame); 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. -- cgit v1.2.3