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