New "show codecs" option and mysql feature requests from Tilghman

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-08-16 14:48:05 +00:00
parent 501c800c5a
commit 1fc8a6ca14
4 changed files with 165 additions and 4 deletions

View File

@@ -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);