forked from Mirrors/freeswitch
FSCORE-578
This commit is contained in:
parent
58413de3e3
commit
23936edd47
@ -205,7 +205,7 @@ SWITCH_DECLARE(void) switch_time_calibrate_clock(void)
|
||||
if (res > 1500) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
|
||||
"Timer resolution of %ld microseconds detected!\n"
|
||||
"Do you have your kernel timer set to higher than 1 kHz? You may experience audio problems.\n", ts.tv_nsec / 1000);
|
||||
"Do you have your kernel timer frequency set to lower than 1,000Hz? You may experience audio problems.\n", ts.tv_nsec / 1000);
|
||||
do_sleep(5000000);
|
||||
switch_time_set_cond_yield(SWITCH_TRUE);
|
||||
return;
|
||||
@ -226,7 +226,7 @@ SWITCH_DECLARE(void) switch_time_calibrate_clock(void)
|
||||
if (diff > 1500) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
|
||||
"Abnormally large timer gap %d detected!\n"
|
||||
"Do you have your kernel timer set to higher than 1 kHz? You may experience audio problems.\n", diff);
|
||||
"Do you have your kernel timer frequency set to lower than 1,000Hz? You may experience audio problems.\n", diff);
|
||||
do_sleep(5000000);
|
||||
switch_time_set_cond_yield(SWITCH_TRUE);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user