skypiax: do the audio timers synch each 20secs

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16730 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Giovanni Maruzzelli 2010-02-23 12:26:03 +00:00
parent 3cc72e256a
commit b2157456f5
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ int skypiax_signaling_read(private_t * tech_pvt)
DEBUGA_SKYPE("Skype FAILED on skype_call %s. Let's wait for the FAILED message.\n", SKYPIAX_P_LOG, id); DEBUGA_SKYPE("Skype FAILED on skype_call %s. Let's wait for the FAILED message.\n", SKYPIAX_P_LOG, id);
} }
if (!strcasecmp(prop, "DURATION")) { /* each second, we sync ithe timers */ if (!strcasecmp(prop, "DURATION")) { /* each second, we sync ithe timers */
if(!((atoi(value) % 5))){ if(!((atoi(value) % 20))){
switch_core_timer_sync(&tech_pvt->timer_read); switch_core_timer_sync(&tech_pvt->timer_read);
switch_core_timer_sync(&tech_pvt->timer_write); switch_core_timer_sync(&tech_pvt->timer_write);
DEBUGA_SKYPE("Synching on skype_call: %s.\n", SKYPIAX_P_LOG, id); DEBUGA_SKYPE("Synching on skype_call: %s.\n", SKYPIAX_P_LOG, id);