From b7fbd14cece6a0345918a946fdba5bdc3268e539 Mon Sep 17 00:00:00 2001 From: markster Date: Sat, 16 Aug 2003 14:48:05 +0000 Subject: New "show codecs" option and mysql feature requests from Tilghman git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1349 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 bd1bb2a72..66b080f42 100755 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -323,6 +323,14 @@ extern char* ast_getformatname(int format); */ extern int ast_getformatbyname(char *name); +//! Get a name from a format +/*! + * \param codec codec number (1,2,4,8,16,etc.) + * Gets a name from a format + * This returns a static string identifying the format on success, 0 on error. + */ +extern char *ast_codec2str(int codec); + //! Pick the best codec /* Choose the best codec... Uhhh... Yah. */ extern int ast_best_codec(int fmts); -- cgit v1.2.3