add sync param to sleep so you can choose to sync audio or not on sleep (reswig to follow)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10693 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-12-10 00:48:24 +00:00
parent 0e60a19e77
commit 71054917ac
12 changed files with 31 additions and 19 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ SWITCH_DECLARE(void) consoleCleanLog(char *msg);
*
*/
SWITCH_DECLARE(int) streamFile(char *file, int starting_sample_count = 0);
SWITCH_DECLARE(int) sleep(int ms);
SWITCH_DECLARE(int) sleep(int ms, int sync=0);
/** \brief flush any pending events
*/
+1 -1
View File
@@ -110,7 +110,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_next_event(switch_core_session_
\param args arguements to pass for callbacks etc
\return SWITCH_STATUS_SUCCESS if the channel is still up
*/
SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session, uint32_t ms, switch_input_args_t *args);
SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session, uint32_t ms, switch_bool_t sync, switch_input_args_t *args);
SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session, switch_input_args_t *args);