aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 16:09:23 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-08 16:09:23 +0000
commit21e626b1e7db99c69c579ca432952c36897069b6 (patch)
tree8921652492326107705e721def3ee681fe386e06
parent67a4bc66ec3ef1113290ae2e9adb363ebe91b3bf (diff)
Merged revisions 58389 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r58389 | file | 2007-03-08 11:07:10 -0500 (Thu, 08 Mar 2007) | 10 lines Merged revisions 58388 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r58388 | file | 2007-03-08 11:04:58 -0500 (Thu, 08 Mar 2007) | 2 lines Only print out debug message if the definition that makes the variables shows up was actually defined. (issue #9233 reported by serginuez) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58390 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/dsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/dsp.c b/main/dsp.c
index 64329092a..e89b726b3 100644
--- a/main/dsp.c
+++ b/main/dsp.c
@@ -1335,12 +1335,14 @@ int ast_dsp_busydetect(struct ast_dsp *dsp)
}
}
#endif
+#ifndef BUSYDETECT_TONEONLY
#if 1
if (res) {
if (option_debug)
ast_log(LOG_DEBUG, "ast_dsp_busydetect detected busy, avgtone: %d, avgsilence %d\n", avgtone, avgsilence);
}
#endif
+#endif
return res;
}
#endif