Mercurial > mplayer.hg
annotate osdep/timer.h @ 28609:bc0b1cf2c94e
Shorten one example line to avoid the groff warning:
DOCS/man/en/mplayer.1:1905: warning [p 20, 5.7i, div `an-div', 0.0i]: cannot adjust line
DOCS/man/en/mplayer.1:1905: warning [p 20, 5.7i]: cannot adjust line
author | diego |
---|---|
date | Wed, 18 Feb 2009 10:07:11 +0000 |
parents | 9e739bdb049c |
children | 5cfef41a1771 |
rev | line source |
---|---|
23934
88bed2131f19
Identifiers starting with underscores are reserved.
diego
parents:
17566
diff
changeset
|
1 #ifndef MPLAYER_TIMER_H |
88bed2131f19
Identifiers starting with underscores are reserved.
diego
parents:
17566
diff
changeset
|
2 #define MPLAYER_TIMER_H |
1 | 3 |
12954 | 4 extern const char *timer_name; |
5 | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12954
diff
changeset
|
6 void InitTimer(void); |
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12954
diff
changeset
|
7 unsigned int GetTimer(void); |
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12954
diff
changeset
|
8 unsigned int GetTimerMS(void); |
1 | 9 //int uGetTimer(); |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12954
diff
changeset
|
10 float GetRelativeTime(void); |
1 | 11 |
2266 | 12 int usec_sleep(int usec_delay); |
13 | |
4863 | 14 /* timer's callback handling */ |
15 typedef void timer_callback( void ); | |
28051 | 16 unsigned set_timer_callback(unsigned ms,timer_callback func); |
17 void restore_timer(void); | |
4863 | 18 |
23934
88bed2131f19
Identifiers starting with underscores are reserved.
diego
parents:
17566
diff
changeset
|
19 #endif /* MPLAYER_TIMER_H */ |