src/timer.h File Reference

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  timer

Functions

struct timertimer_new (const struct audio_format *af)
void timer_free (struct timer *timer)
void timer_start (struct timer *timer)
void timer_reset (struct timer *timer)
void timer_add (struct timer *timer, int size)
unsigned timer_delay (const struct timer *timer)
 Returns the number of milliseconds to sleep to get back to sync.
void timer_sync (struct timer *timer)

Function Documentation

void timer_add ( struct timer timer,
int  size 
)
unsigned timer_delay ( const struct timer timer  ) 

Returns the number of milliseconds to sleep to get back to sync.

void timer_free ( struct timer timer  ) 
struct timer* timer_new ( const struct audio_format af  )  [read]
void timer_reset ( struct timer timer  ) 
void timer_start ( struct timer timer  ) 
void timer_sync ( struct timer timer  ) 

Generated on 17 Jul 2013 for MPD by  doxygen 1.6.1