summaryrefslogtreecommitdiff
path: root/src/decoder/plugins/SidplayDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-09-21 19:37:56 +0200
committerMax Kellermann <max@musicpd.org>2018-09-21 20:42:34 +0200
commit90f4e97751a7ff2752d12f611cf779b7c8f5804a (patch)
tree971ca26f7502289fa46c62e95e2e7c4baf04a8cf /src/decoder/plugins/SidplayDecoderPlugin.cxx
parentd1bcd98f79c35eff78188a47e7ac3c869f3df1dc (diff)
decoder/Client: use std::chrono::duration<double> instead of raw `double`
Diffstat (limited to 'src/decoder/plugins/SidplayDecoderPlugin.cxx')
-rw-r--r--src/decoder/plugins/SidplayDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx
index ce154399f..1d74a4d13 100644
--- a/src/decoder/plugins/SidplayDecoderPlugin.cxx
+++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx
@@ -403,7 +403,7 @@ sidplay_file_decode(DecoderClient &client, Path path_fs)
const size_t nbytes = result;
#endif
- client.SubmitTimestamp((double)player.time() / timebase);
+ client.SubmitTimestamp(FloatDuration(player.time()) / timebase);
cmd = client.SubmitData(nullptr, buffer, nbytes, 0);