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
This commit is contained in:
Martin Pycko
2003-08-16 05:10:35 +00:00
parent 6fc89a80d1
commit 501c800c5a
18 changed files with 112 additions and 62 deletions

View File

@@ -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.