system/PeriodClock: use std::chrono::steady_clock

This commit is contained in:
Max Kellermann
2016-12-27 22:47:20 +01:00
parent 28e743ba70
commit 4011899846
3 changed files with 27 additions and 25 deletions
+2 -2
View File
@@ -30,9 +30,9 @@
#include <assert.h>
/** after a failure, wait this number of seconds before
/** after a failure, wait this duration before
automatically reopening the device */
static constexpr unsigned REOPEN_AFTER = 10;
static constexpr PeriodClock::Duration REOPEN_AFTER = std::chrono::seconds(10);
struct notify audio_output_client_notify;