aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputFinish.cxx
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/OutputFinish.cxx
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/OutputFinish.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputFinish.cxx b/src/OutputFinish.cxx
index db6599b53..b19f4c402 100644
--- a/src/OutputFinish.cxx
+++ b/src/OutputFinish.cxx
@@ -29,7 +29,7 @@ void
ao_base_finish(struct audio_output *ao)
{
assert(!ao->open);
- assert(ao->fail_timer == nullptr);
+ assert(!ao->fail_timer.IsDefined());
assert(!ao->thread.IsDefined());
if (ao->mixer != nullptr)
@@ -44,7 +44,7 @@ void
audio_output_free(struct audio_output *ao)
{
assert(!ao->open);
- assert(ao->fail_timer == nullptr);
+ assert(!ao->fail_timer.IsDefined());
assert(!ao->thread.IsDefined());
ao_plugin_finish(ao);