Merged revisions 130634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130634 | russell | 2008-07-14 05:38:14 -0500 (Mon, 14 Jul 2008) | 2 lines Bump up the debug level for a message. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130635 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
24a772af0c
commit
68df4f8607
|
@ -202,13 +202,13 @@ 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)) {
|
||||
ast_debug(1, "Write factory %p was pretty quick last time, waiting for them.\n", &audiohook->write_factory);
|
||||
ast_debug(3, "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)) {
|
||||
ast_debug(1, "Read factory %p was pretty quick last time, waiting for them.\n", &audiohook->read_factory);
|
||||
ast_debug(3, "Read factory %p was pretty quick last time, waiting for them.\n", &audiohook->read_factory);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue