DecoderControl: use std::chrono::duration for Seek()

This commit is contained in:
Max Kellermann
2014-08-27 18:38:41 +02:00
parent 58e6f660f3
commit ba6ba7d4be
5 changed files with 10 additions and 10 deletions

View File

@@ -26,6 +26,7 @@
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "thread/Thread.hxx"
#include "Chrono.hxx"
#include "util/Error.hxx"
#include <assert.h>
@@ -107,7 +108,7 @@ struct DecoderControl {
bool seek_error;
bool seekable;
double seek_where;
SongTime seek_time;
/** the format of the song file */
AudioFormat in_audio_format;
@@ -365,7 +366,7 @@ public:
void Stop();
bool Seek(double where);
bool Seek(SongTime t);
void Quit();