DecoderAPI: use std::chrono::duration for decoder_seek*()

For type safety and code readability.
This commit is contained in:
Max Kellermann
2014-08-26 21:52:28 +02:00
parent 02e697032f
commit 0c2d767f6f
11 changed files with 110 additions and 61 deletions

View File

@@ -55,16 +55,10 @@ decoder_command_finished(gcc_unused Decoder &decoder)
{
}
double
decoder_seek_where(gcc_unused Decoder &decoder)
SongTime
decoder_seek_time(gcc_unused Decoder &decoder)
{
return 1.0;
}
unsigned
decoder_seek_where_ms(gcc_unused Decoder &decoder)
{
return 1;
return SongTime();
}
uint64_t