diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-24 18:51:41 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-24 18:51:41 +0000 |
commit | 438cb82e0f7387fd29396ac0037c9c574f7dd114 (patch) | |
tree | a48442a34e74ae91b6f1a3c6a9ebef7d943024c1 /main/jitterbuf.c | |
parent | e645e3fc7bcc93bdd42d2296ed0709e72096c3b6 (diff) |
Conversions to ast_debug()
(issue #9984, patches from eliel and dimas)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71338 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/jitterbuf.c')
-rw-r--r-- | main/jitterbuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/jitterbuf.c b/main/jitterbuf.c index 177e2e625..127488696 100644 --- a/main/jitterbuf.c +++ b/main/jitterbuf.c @@ -38,6 +38,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "jitterbuf.h" #include "asterisk/utils.h" +#include "asterisk/options.h" /*! define these here, just for ancient compiler systems */ #define JB_LONGMAX 2147483647L @@ -532,7 +533,7 @@ enum jb_return_code jb_put(jitterbuf *jb, void *data, const enum jb_frame_type t if (jb->frames) numts = jb->frames->prev->ts - jb->frames->ts; if (numts >= jb->info.conf.max_jitterbuf) { - ast_log(LOG_DEBUG, "Attempting to exceed Jitterbuf max %ld timeslots\n", + ast_debug(1, "Attempting to exceed Jitterbuf max %ld timeslots\n", jb->info.conf.max_jitterbuf); jb->dropem = 1; return JB_DROP; |