diff --git a/common/JackServerGlobals.cpp b/common/JackServerGlobals.cpp index 6d804bcb..16688411 100644 --- a/common/JackServerGlobals.cpp +++ b/common/JackServerGlobals.cpp @@ -203,7 +203,11 @@ bool JackServerGlobals::Init() if (tolower (optarg[0]) == 'h') { clock_source = JACK_TIMER_HPET; } else if (tolower (optarg[0]) == 'c') { - clock_source = JACK_TIMER_CYCLE_COUNTER; + /* For backwards compatibility with scripts, allow + * the user to request the cycle clock on the + * command line, but use the system clock instead + */ + clock_source = JACK_TIMER_SYSTEM_CLOCK; } else if (tolower (optarg[0]) == 's') { clock_source = JACK_TIMER_SYSTEM_CLOCK; } else { diff --git a/common/Jackdmp.cpp b/common/Jackdmp.cpp index a758df17..e16b5ae5 100644 --- a/common/Jackdmp.cpp +++ b/common/Jackdmp.cpp @@ -329,7 +329,11 @@ int main(int argc, char** argv) value.ui = JACK_TIMER_HPET; jackctl_parameter_set_value(param, &value); } else if (tolower (optarg[0]) == 'c') { - value.ui = JACK_TIMER_CYCLE_COUNTER; + /* For backwards compatibility with scripts, allow + * the user to request the cycle clock on the + * command line, but use the system clock instead + */ + value.ui = JACK_TIMER_SYSTEM_CLOCK; jackctl_parameter_set_value(param, &value); } else if (tolower (optarg[0]) == 's') { value.ui = JACK_TIMER_SYSTEM_CLOCK;