summaryrefslogtreecommitdiff
path: root/pjmedia/src
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-08-02 19:41:37 +0000
committerBenny Prijono <bennylp@teluu.com>2006-08-02 19:41:37 +0000
commit2a4656699b9fc1bc03ffb5723aa3da0cc1ba88c3 (patch)
treefe0650e2366e7853437bcae768049ddf335d1338 /pjmedia/src
parent2c5b8f5dca277dd3fee1ab1298bb0b2308372eae (diff)
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
Diffstat (limited to 'pjmedia/src')
-rw-r--r--pjmedia/src/pjmedia-codec/speex/misc.h2
-rw-r--r--pjmedia/src/pjmedia/aec_port.c8
2 files changed, 7 insertions, 3 deletions
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;
}