91 for (attrib = attribs; *attrib; ++attrib) {
92 *attrib = tolower(*attrib);
95 if (sscanf(attribs,
"framesize=%30u", &
val) == 1) {
165 if (sscanf(
value,
"%30u", &
val) != 1) {
172 if (!strcasecmp(
name,
"sample_rate")) {
174 }
else if (!strcasecmp(
name,
"max_bitrate")) {
176 }
else if (!strcasecmp(
name,
"frame_size")) {
Asterisk main include file. File version handling, generic pbx functions.
#define ast_strdupa(s)
duplicate a string in memory from the stack
#define ast_calloc(num, len)
A wrapper for calloc()
#define ao2_ref(o, delta)
Reference/unreference an object and return the old refcount.
Support for logging to various files, console and syslog Configuration in file logger....
Asterisk module definitions.
#define AST_MODULE_INFO(keystr, flags_to_set, desc, fields...)
@ AST_MODPRI_CHANNEL_DEPEND
@ AST_MODULE_SUPPORT_CORE
#define ASTERISK_GPL_KEY
The text the key() function should return.
@ AST_MODULE_LOAD_SUCCESS
@ AST_MODULE_LOAD_DECLINE
Module has failed to load, may be in an inconsistent state.
String manipulation functions.
int ast_str_append(struct ast_str **buf, ssize_t max_len, const char *fmt,...)
Append to a thread local dynamic string.
Support for dynamic strings.
CELT attribute structure.