diff options
Diffstat (limited to 'src/decoder/plugins/SidplayDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/SidplayDecoderPlugin.cxx | 2 |
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); |