summaryrefslogtreecommitdiff
path: root/include/asterisk/audiohook.h
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-10-14 23:04:44 +0000
committerMark Michelson <mmichelson@digium.com>2008-10-14 23:04:44 +0000
commit29a8fe20c82c92a3ed47d627ab9ec57da8dc4fe6 (patch)
treea52f5a1a46458a146646964c2344bbb477a639b2 /include/asterisk/audiohook.h
parent184fe6f87befe5da170bd852491d3a22db83a65f (diff)
Merged revisions 149204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r149204 | mmichelson | 2008-10-14 18:00:01 -0500 (Tue, 14 Oct 2008) | 12 lines Add a tolerance period for sync-triggered audiohooks so that if packetization of audio is close (but not equal) we don't end up flushing the audiohooks over small inconsistencies in synchronization. Related to issue #13005, and solves the issue for most people who were experiencing the problem. However, a small number of people are still experiencing the problem on long calls, so I am not closing the issue yet ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/audiohook.h')
-rw-r--r--include/asterisk/audiohook.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/audiohook.h b/include/asterisk/audiohook.h
index 3345c5db7..cda2c2977 100644
--- a/include/asterisk/audiohook.h
+++ b/include/asterisk/audiohook.h
@@ -60,6 +60,8 @@ enum ast_audiohook_flags {
AST_AUDIOHOOK_TRIGGER_SYNC = (1 << 2), /*!< Audiohook wants to be triggered when both sides have combined audio available */
};
+#define AST_AUDIOHOOK_SYNC_TOLERANCE 100 /*< Tolerance in milliseconds for audiohooks synchronization */
+
struct ast_audiohook;
/*! \brief Callback function for manipulate audiohook type