decoder/Client: use std::chrono::duration<double> instead of raw double
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user