summaryrefslogtreecommitdiff
path: root/pjmedia/src
diff options
context:
space:
mode:
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;
}