Ardour  9.0-pre0-350-gf17a656217
windows_timer_utils.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Tim Mayberry <mojofunk@gmail.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef PBD_WINDOWS_TIMER_UTILS_H
20 #define PBD_WINDOWS_TIMER_UTILS_H
21 
22 #include <stdint.h>
23 
24 #include "pbd/libpbd_visibility.h"
25 
26 namespace PBD {
27 
28 namespace MMTIMERS {
29 
34 bool LIBPBD_API get_min_resolution (uint32_t& timer_resolution_ms);
35 
41 
49 bool LIBPBD_API set_resolution(uint32_t timer_resolution_ms);
50 
59 
60 } // namespace MMTIMERS
61 
62 } // namespace PBD
63 
64 #endif // PBD_WINDOWS_TIMER_UTILS_H
#define LIBPBD_API
bool set_resolution(uint32_t timer_resolution_ms)
bool get_min_resolution(uint32_t &timer_resolution_ms)
bool set_min_resolution()
bool reset_resolution()
Definition: axis_view.h:42