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() --- src/decoder/DecoderAPI.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/decoder/DecoderAPI.hxx') diff --git a/src/decoder/DecoderAPI.hxx b/src/decoder/DecoderAPI.hxx index ca33e26c7..b756331d9 100644 --- a/src/decoder/DecoderAPI.hxx +++ b/src/decoder/DecoderAPI.hxx @@ -53,12 +53,13 @@ class Error; * @param audio_format the audio format which is going to be sent to * decoder_data() * @param seekable true if the song is seekable - * @param total_time the total number of seconds in this song; -1 if unknown + * @param duration the total duration of this song; negative if + * unknown */ void decoder_initialized(Decoder &decoder, AudioFormat audio_format, - bool seekable, float total_time); + bool seekable, SignedSongTime duration); /** * Determines the pending decoder command. -- cgit v1.2.3