aboutsummaryrefslogtreecommitdiffstats
path: root/main/abstract_jb.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-22 08:58:46 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-22 08:58:46 +0000
commit21363e1a63276b5b8892026c0d7e06723adefa00 (patch)
tree1611242391b246974850bb4f966d783d2fdc6b58 /main/abstract_jb.c
parent54710096e0f620fd800d3579374a3b85326f8357 (diff)
Doxygen updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99464 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/abstract_jb.c')
-rw-r--r--main/abstract_jb.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/abstract_jb.c b/main/abstract_jb.c
index 4f464796d..df822f5ea 100644
--- a/main/abstract_jb.c
+++ b/main/abstract_jb.c
@@ -25,6 +25,8 @@
* \brief Common implementation-independent jitterbuffer stuff.
*
* \author Slav Klenov <slav@securax.org>
+ *
+ *
*/
#include "asterisk.h"
@@ -85,7 +87,7 @@ struct ast_jb_impl
/* Implementation functions */
/* fixed */
-static void * jb_create_fixed(struct ast_jb_conf *general_config, long resynch_threshold);
+static void *jb_create_fixed(struct ast_jb_conf *general_config, long resynch_threshold);
static void jb_destroy_fixed(void *jb);
static int jb_put_first_fixed(void *jb, struct ast_frame *fin, long now);
static int jb_put_fixed(void *jb, struct ast_frame *fin, long now);
@@ -422,7 +424,7 @@ static void jb_get_and_deliver(struct ast_channel *chan)
break;
case JB_IMPL_NOFRAME:
ast_log(LOG_WARNING,
- "JB_IMPL_NOFRAME is retuned from the %s jb when now=%ld >= next=%ld, jbnext=%ld!\n",
+ "JB_IMPL_NOFRAME is returned from the %s jb when now=%ld >= next=%ld, jbnext=%ld!\n",
jbimpl->name, now, jb->next, jbimpl->next(jbobj));
jb_framelog("\tJB_GET {now=%ld}: No frame for now!?\n", now);
return;
@@ -496,7 +498,7 @@ static int create_jb(struct ast_channel *chan, struct ast_frame *frr)
jb->logfile = fopen(logfile_pathname, "w+b");
if (!jb->logfile)
- ast_log(LOG_WARNING, "Failed to create frame log file with pathname '%s'\n", logfile_pathname);
+ ast_log(LOG_ERROR, "Failed to create frame log file with pathname '%s'\n", logfile_pathname);
if (res == JB_IMPL_OK)
jb_framelog("JB_PUT_FIRST {now=%ld}: Queued frame with ts=%ld and len=%ld\n",