From 9bd893a6a28912ed2905a6d01d7a7abea79e58eb Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Wed, 16 Sep 2015 22:22:00 +1000 Subject: 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(+) (limited to 'libs/pbd/windows_timer_utils.cc') 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 (); } -- cgit v1.2.3