mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
FSCORE-639
This commit is contained in:
1 parent
3b9278710d
commit
88983da46e
2 files changed
+8
No files matched your search
@@ -485,6 +485,7 @@ static switch_status_t timer_init(switch_timer_t *timer)
|
||||
switch_mutex_unlock(globals.mutex);
|
||||
timer->private_info = private_info;
|
||||
private_info->start = private_info->reference = TIMER_MATRIX[timer->interval].tick;
|
||||
private_info->start -= 2; /* switch_core_timer_init sets samplecount to samples, this makes first next() step once */
|
||||
private_info->roll = TIMER_MATRIX[timer->interval].roll;
|
||||
private_info->ready = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user