From d9d97bd17bf0d9469dcf00120d3d3fdab87299bc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2014 20:52:39 +0200 Subject: DecoderAPI: pass SignedSongTime to decoder_initialized() --- test/FakeDecoderAPI.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/FakeDecoderAPI.cxx') diff --git a/test/FakeDecoderAPI.cxx b/test/FakeDecoderAPI.cxx index 2516e9e62..dcc78125b 100644 --- a/test/FakeDecoderAPI.cxx +++ b/test/FakeDecoderAPI.cxx @@ -30,7 +30,7 @@ void decoder_initialized(Decoder &decoder, const AudioFormat audio_format, gcc_unused bool seekable, - float duration) + SignedSongTime duration) { struct audio_format_string af_string; @@ -39,7 +39,7 @@ decoder_initialized(Decoder &decoder, fprintf(stderr, "audio_format=%s duration=%f\n", audio_format_to_string(audio_format, &af_string), - duration); + duration.ToDoubleS()); decoder.initialized = true; } -- cgit v1.2.3