diff options
author | Max Kellermann <max@duempel.org> | 2013-11-24 20:20:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-25 22:09:46 +0100 |
commit | 51de8fd10a98e6ed9a2ac10a796236c5b3fe2bf8 (patch) | |
tree | 2d908b259fa90cafd765566cbf24ef7f325fca93 /src/OutputAll.cxx | |
parent | 2ef6052536b91d9312191ca91de663b73249aea5 (diff) | |
download | mpd-51de8fd10a98e6ed9a2ac10a796236c5b3fe2bf8.tar.gz mpd-51de8fd10a98e6ed9a2ac10a796236c5b3fe2bf8.tar.xz mpd-51de8fd10a98e6ed9a2ac10a796236c5b3fe2bf8.zip |
Volume, Output: use new class PeriodClock instead of GTimer
Diffstat (limited to 'src/OutputAll.cxx')
-rw-r--r-- | src/OutputAll.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/OutputAll.cxx b/src/OutputAll.cxx index 36d41184a..d167a80cd 100644 --- a/src/OutputAll.cxx +++ b/src/OutputAll.cxx @@ -225,10 +225,7 @@ audio_output_reset_reopen(struct audio_output *ao) { const ScopeLock protect(ao->mutex); - if (!ao->open && ao->fail_timer != nullptr) { - g_timer_destroy(ao->fail_timer); - ao->fail_timer = nullptr; - } + ao->fail_timer.Reset(); } /** |