diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-16 05:10:35 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-16 05:10:35 +0000 |
commit | c3ef7b672f25621ba670ba22955a3dfc0953c739 (patch) | |
tree | 25d33da4ebede3baf10bbd03a14ef1333cc1ad4a /include/asterisk/frame.h | |
parent | 5dd6c3c66f480f29669530224f0f26eb3005ca73 (diff) |
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
Diffstat (limited to 'include/asterisk/frame.h')
-rwxr-xr-x | include/asterisk/frame.h | 8 |
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. |