diff options
author | Max Kellermann <max@musicpd.org> | 2016-12-28 21:44:18 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-12-28 22:00:29 +0100 |
commit | d5e422970c8973947686ae698a366e07840afaa2 (patch) | |
tree | 0144b344cc62b9855747f01883592e4591be99cd /src/output/OutputPlugin.cxx | |
parent | 871ba5a488683055bcd556610bc974d94984f32f (diff) |
output/Plugin: delay() returns std::chrono::steady_clock::duration
Diffstat (limited to 'src/output/OutputPlugin.cxx')
-rw-r--r-- | src/output/OutputPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/OutputPlugin.cxx b/src/output/OutputPlugin.cxx index e90ba12a0..0f0b81ccf 100644 --- a/src/output/OutputPlugin.cxx +++ b/src/output/OutputPlugin.cxx @@ -63,12 +63,12 @@ ao_plugin_close(AudioOutput *ao) ao->plugin.close(ao); } -unsigned +std::chrono::steady_clock::duration ao_plugin_delay(AudioOutput *ao) { return ao->plugin.delay != nullptr ? ao->plugin.delay(ao) - : 0; + : std::chrono::steady_clock::duration::zero(); } void |