output/Timer: pass size_t to Add()
This commit is contained in:
parent
2d3c23876c
commit
a3ca9963a5
@ -42,7 +42,8 @@ void Timer::Reset()
|
||||
started = false;
|
||||
}
|
||||
|
||||
void Timer::Add(int size)
|
||||
void
|
||||
Timer::Add(size_t size)
|
||||
{
|
||||
assert(started);
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#define MPD_TIMER_HXX
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
struct AudioFormat;
|
||||
|
||||
@ -36,7 +37,7 @@ public:
|
||||
void Start();
|
||||
void Reset();
|
||||
|
||||
void Add(int size);
|
||||
void Add(size_t size);
|
||||
|
||||
/**
|
||||
* Returns the number of milliseconds to sleep to get back to sync.
|
||||
|
Loading…
Reference in New Issue
Block a user