From 9bd893a6a28912ed2905a6d01d7a7abea79e58eb Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Wed, 16 Sep 2015 22:22:00 +1000 Subject: [PATCH] Make sure the QPC frequency is cached so the timer can be used --- libs/pbd/windows_timer_utils.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/pbd/windows_timer_utils.cc b/libs/pbd/windows_timer_utils.cc index ee7cd962c5..2817b8e3a9 100644 --- a/libs/pbd/windows_timer_utils.cc +++ b/libs/pbd/windows_timer_utils.cc @@ -189,6 +189,7 @@ get_microseconds () int64_t get_microseconds () { + qpc_frequency_cached(); if (qpc_frequency_success()) { return QPC::get_microseconds (); }