aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/DecoderAPI.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-29 20:52:39 +0200
committerMax Kellermann <max@duempel.org>2014-08-29 21:40:15 +0200
commitd9d97bd17bf0d9469dcf00120d3d3fdab87299bc (patch)
treed7abd9d0cbc6e417aaf4427740bf47207f47d7fa /src/decoder/DecoderAPI.hxx
parent94f6380d693b8bece655885d37495a3a73c78b62 (diff)
downloadmpd-d9d97bd17bf0d9469dcf00120d3d3fdab87299bc.tar.gz
mpd-d9d97bd17bf0d9469dcf00120d3d3fdab87299bc.tar.xz
mpd-d9d97bd17bf0d9469dcf00120d3d3fdab87299bc.zip
DecoderAPI: pass SignedSongTime to decoder_initialized()
Diffstat (limited to 'src/decoder/DecoderAPI.hxx')
-rw-r--r--src/decoder/DecoderAPI.hxx5
1 files changed, 3 insertions, 2 deletions
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.