summaryrefslogtreecommitdiff
path: root/test
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 /test
parentd1bcd98f79c35eff78188a47e7ac3c869f3df1dc (diff)
decoder/Client: use std::chrono::duration<double> instead of raw `double`
Diffstat (limited to 'test')
-rw-r--r--test/DumpDecoderClient.cxx2
-rw-r--r--test/DumpDecoderClient.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/DumpDecoderClient.cxx b/test/DumpDecoderClient.cxx
index d6f29d192..f7156c5c3 100644
--- a/test/DumpDecoderClient.cxx
+++ b/test/DumpDecoderClient.cxx
@@ -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)
{
}
diff --git a/test/DumpDecoderClient.hxx b/test/DumpDecoderClient.hxx
index 77b5cd60c..8a40e7415 100644
--- a/test/DumpDecoderClient.hxx
+++ b/test/DumpDecoderClient.hxx
@@ -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;