From 2a4656699b9fc1bc03ffb5723aa3da0cc1ba88c3 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 2 Aug 2006 19:41:37 +0000 Subject: Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/src/pjmedia-codec/speex/misc.h | 2 +- pjmedia/src/pjmedia/aec_port.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'pjmedia/src') diff --git a/pjmedia/src/pjmedia-codec/speex/misc.h b/pjmedia/src/pjmedia-codec/speex/misc.h index 95e5d0cd..ea9cc387 100644 --- a/pjmedia/src/pjmedia-codec/speex/misc.h +++ b/pjmedia/src/pjmedia-codec/speex/misc.h @@ -62,7 +62,7 @@ #error I suppose you can have a [ARM4/ARM5E/Blackfin] that has float instructions? #endif #ifdef FIXED_POINT_DEBUG -#error Don't you think enabling fixed-point is a good thing to do if you want to debug that? +#error Dont you think enabling fixed-point is a good thing to do if you want to debug that? #endif diff --git a/pjmedia/src/pjmedia/aec_port.c b/pjmedia/src/pjmedia/aec_port.c index d00d9298..f772d859 100644 --- a/pjmedia/src/pjmedia/aec_port.c +++ b/pjmedia/src/pjmedia/aec_port.c @@ -93,9 +93,13 @@ PJ_DEF(pj_status_t) pjmedia_aec_port_create( pj_pool_t *pool, /* Done */ *p_port = &aec_port->base; - PJ_LOG(4,(THIS_FILE, "AEC created for port %.*s", + PJ_LOG(4,(THIS_FILE, "AEC created for port %.*s, clock_rate=%d, " + "samples per frame=%d, tail length=%d ms", (int)dn_port->info.name.slen, - dn_port->info.name.ptr)); + dn_port->info.name.ptr, + dn_port->info.clock_rate, + dn_port->info.samples_per_frame, + tail_length * 1000 / dn_port->info.clock_rate)); return PJ_SUCCESS; } -- cgit v1.2.3