aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-15 16:02:04 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-15 16:02:04 +0000
commitee7b02c4617cc726c1a4563de4035524e1abb7dd (patch)
treebb8ee6c6b52741b0c5505675a07335ccae54b7ac /codecs
parent47eec770eead811179bf980ecd80ac751748b4b9 (diff)
Merged revisions 206636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r206636 | seanbright | 2009-07-15 12:00:24 -0400 (Wed, 15 Jul 2009) | 9 lines Merged revisions 206635 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r206635 | seanbright | 2009-07-15 11:57:51 -0400 (Wed, 15 Jul 2009) | 1 line Only print debug info in codec_dahdi if we are asking for it. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@206637 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rw-r--r--codecs/codec_dahdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/codecs/codec_dahdi.c b/codecs/codec_dahdi.c
index 9caf46601..8e4153a28 100644
--- a/codecs/codec_dahdi.c
+++ b/codecs/codec_dahdi.c
@@ -394,7 +394,7 @@ static int dahdi_translate(struct ast_trans_pvt *pvt, int dest, int source)
dahdip->fmts.srcfmt = (1 << source);
dahdip->fmts.dstfmt = (1 << dest);
- ast_log(LOG_DEBUG, "Opening transcoder channel from %d to %d.\n", source, dest);
+ ast_debug(1, "Opening transcoder channel from %d to %d.\n", source, dest);
retry:
if (ioctl(fd, DAHDI_TC_ALLOCATE, &dahdip->fmts)) {
@@ -408,11 +408,11 @@ retry:
* we'll just convert from ulaw to signed linear in
* software. */
if (AST_FORMAT_SLINEAR == dahdip->fmts.srcfmt) {
- ast_log(LOG_DEBUG, "Using soft_slin support on source\n");
+ ast_debug(1, "Using soft_slin support on source\n");
dahdip->softslin = 1;
dahdip->fmts.srcfmt = AST_FORMAT_ULAW;
} else if (AST_FORMAT_SLINEAR == dahdip->fmts.dstfmt) {
- ast_log(LOG_DEBUG, "Using soft_slin support on destination\n");
+ ast_debug(1, "Using soft_slin support on destination\n");
dahdip->softslin = 1;
dahdip->fmts.dstfmt = AST_FORMAT_ULAW;
}