summaryrefslogtreecommitdiff
path: root/src/decoder/Bridge.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/Bridge.hxx')
-rw-r--r--src/decoder/Bridge.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/Bridge.hxx b/src/decoder/Bridge.hxx
index e19d28e27..76ce9ab3a 100644
--- a/src/decoder/Bridge.hxx
+++ b/src/decoder/Bridge.hxx
@@ -49,7 +49,7 @@ public:
/**
* The time stamp of the next data chunk, in seconds.
*/
- double timestamp = 0;
+ FloatDuration timestamp = FloatDuration::zero();
/**
* The time stamp of the next data chunk, in PCM frames.
@@ -148,7 +148,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;