decoder/Client: use std::chrono::duration<double> instead of raw double
This commit is contained in:
@@ -87,7 +87,7 @@ DumpDecoderClient::Read(InputStream &is, void *buffer, size_t length)
|
||||
}
|
||||
|
||||
void
|
||||
DumpDecoderClient::SubmitTimestamp(gcc_unused double t)
|
||||
DumpDecoderClient::SubmitTimestamp(gcc_unused FloatDuration t)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -50,7 +50,7 @@ public:
|
||||
void SeekError() override;
|
||||
InputStreamPtr OpenUri(const char *uri) override;
|
||||
size_t Read(InputStream &is, void *buffer, size_t length) override;
|
||||
void SubmitTimestamp(double t) override;
|
||||
void SubmitTimestamp(FloatDuration t) override;
|
||||
DecoderCommand SubmitData(InputStream *is,
|
||||
const void *data, size_t length,
|
||||
uint16_t kbit_rate) override;
|
||||
|
Reference in New Issue
Block a user