mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user