aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-14 10:38:14 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-14 10:38:14 +0000
commitc603125f8cb76cad2596aa70d0ac7662b1fc8275 (patch)
tree57d0f34a7aee175161adff85d43d818bcece7001 /main
parent47cf7b6a97ffb16b257029cd22de24fa648069b0 (diff)
Bump up the debug level for a message.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@130634 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/audiohook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/audiohook.c b/main/audiohook.c
index 32d1f05cd..809c17629 100644
--- a/main/audiohook.c
+++ b/main/audiohook.c
@@ -210,14 +210,14 @@ static struct ast_frame *audiohook_read_frame_both(struct ast_audiohook *audioho
/* If we want to provide only a read factory make sure we aren't waiting for other audio */
if (usable_read && !usable_write && (ast_tvdiff_ms(ast_tvnow(), audiohook->write_time) < (samples/8)*2)) {
- if (option_debug)
+ if (option_debug > 2)
ast_log(LOG_DEBUG, "Write factory %p was pretty quick last time, waiting for them.\n", &audiohook->write_factory);
return NULL;
}
/* If we want to provide only a write factory make sure we aren't waiting for other audio */
if (usable_write && !usable_read && (ast_tvdiff_ms(ast_tvnow(), audiohook->read_time) < (samples/8)*2)) {
- if (option_debug)
+ if (option_debug > 2)
ast_log(LOG_DEBUG, "Read factory %p was pretty quick last time, waiting for them.\n", &audiohook->read_factory);
return NULL;
}