diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-08 16:07:10 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-08 16:07:10 +0000 |
commit | f16624958a14c72696d9e9161b5f55c3ab5cc968 (patch) | |
tree | 4b1d906eec854ad963f869aec55d901b297f98f3 /main/dsp.c | |
parent | 08834c034e90b0c3d3c8e90da59bdd16104f8b43 (diff) |
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/branches/1.4@58389 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dsp.c')
-rw-r--r-- | main/dsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/dsp.c b/main/dsp.c index 2992031b4..1054c3776 100644 --- a/main/dsp.c +++ b/main/dsp.c @@ -1334,10 +1334,12 @@ int ast_dsp_busydetect(struct ast_dsp *dsp) } } #endif +#ifndef BUSYDETECT_TONEONLY #if 1 if (res) ast_log(LOG_DEBUG, "ast_dsp_busydetect detected busy, avgtone: %d, avgsilence %d\n", avgtone, avgsilence); #endif +#endif return res; } #endif |