aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-24 20:20:57 +0100
committerMax Kellermann <max@duempel.org>2013-11-25 22:09:46 +0100
commit51de8fd10a98e6ed9a2ac10a796236c5b3fe2bf8 (patch)
tree2d908b259fa90cafd765566cbf24ef7f325fca93 /src/OutputInternal.hxx
parent2ef6052536b91d9312191ca91de663b73249aea5 (diff)
downloadmpd-51de8fd10a98e6ed9a2ac10a796236c5b3fe2bf8.tar.gz
mpd-51de8fd10a98e6ed9a2ac10a796236c5b3fe2bf8.tar.xz
mpd-51de8fd10a98e6ed9a2ac10a796236c5b3fe2bf8.zip
Volume, Output: use new class PeriodClock instead of GTimer
Diffstat (limited to '')
-rw-r--r--src/OutputInternal.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/OutputInternal.hxx b/src/OutputInternal.hxx
index c07cdf856..f05073bd7 100644
--- a/src/OutputInternal.hxx
+++ b/src/OutputInternal.hxx
@@ -25,15 +25,13 @@
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "thread/Thread.hxx"
-
-#include <time.h>
+#include "system/PeriodClock.hxx"
class Error;
class Filter;
class MusicPipe;
struct config_param;
struct PlayerControl;
-typedef struct _GTimer GTimer;
enum audio_output_command {
AO_COMMAND_NONE = 0,
@@ -147,7 +145,7 @@ struct audio_output {
* to estimate how long it should stay disabled (unless
* explicitly reopened with "play").
*/
- GTimer *fail_timer;
+ PeriodClock fail_timer;
/**
* The configured audio format.