mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 09:12:25 +00:00
FSCORE-578
This commit is contained in:
parent
58413de3e3
commit
9c5fc3a8e3
@ -205,7 +205,7 @@ SWITCH_DECLARE(void) switch_time_calibrate_clock(void)
|
|||||||
if (res > 1500) {
|
if (res > 1500) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
|
||||||
"Timer resolution of %ld microseconds detected!\n"
|
"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);
|
do_sleep(5000000);
|
||||||
switch_time_set_cond_yield(SWITCH_TRUE);
|
switch_time_set_cond_yield(SWITCH_TRUE);
|
||||||
return;
|
return;
|
||||||
@ -226,7 +226,7 @@ SWITCH_DECLARE(void) switch_time_calibrate_clock(void)
|
|||||||
if (diff > 1500) {
|
if (diff > 1500) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
|
||||||
"Abnormally large timer gap %d detected!\n"
|
"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);
|
do_sleep(5000000);
|
||||||
switch_time_set_cond_yield(SWITCH_TRUE);
|
switch_time_set_cond_yield(SWITCH_TRUE);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user