mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
timer: remove timer_name
This was unreferenced and useless.
This commit is contained in:
parent
914c8dc577
commit
c5e2120e15
@ -30,9 +30,6 @@
|
||||
/* global variables */
|
||||
static double timebase_ratio;
|
||||
|
||||
const char timer_name[] = "Darwin accurate";
|
||||
|
||||
|
||||
|
||||
/* the core sleep function, uses floats and is used in MPlayer G2 */
|
||||
static float sleep_accurate(float time_frame)
|
||||
|
@ -26,13 +26,6 @@
|
||||
#include "config.h"
|
||||
#include "timer.h"
|
||||
|
||||
const char timer_name[] =
|
||||
#ifdef HAVE_NANOSLEEP
|
||||
"nanosleep()";
|
||||
#else
|
||||
"usleep()";
|
||||
#endif
|
||||
|
||||
int usec_sleep(int usec_delay)
|
||||
{
|
||||
#ifdef HAVE_NANOSLEEP
|
||||
|
@ -22,8 +22,6 @@
|
||||
#include <mmsystem.h>
|
||||
#include "timer.h"
|
||||
|
||||
const char timer_name[] = "Windows native";
|
||||
|
||||
// Returns current time in microseconds
|
||||
unsigned int GetTimer(void)
|
||||
{
|
||||
|
@ -19,8 +19,6 @@
|
||||
#ifndef MPLAYER_TIMER_H
|
||||
#define MPLAYER_TIMER_H
|
||||
|
||||
extern const char timer_name[];
|
||||
|
||||
void InitTimer(void);
|
||||
unsigned int GetTimer(void);
|
||||
unsigned int GetTimerMS(void);
|
||||
|
Loading…
Reference in New Issue
Block a user