From 0d8b551c5a3aeadfd6901469946078d5a95ecb42 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:05 +0200 Subject: added parameter total_time to decoder_initialized() Similar to the previous patch: pass total_time instead of manipulating dc->totalTime directly. --- src/decoder_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index eb2ca3887..ba61af577 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -41,7 +41,8 @@ struct decoder; * that it has read the song's meta data. */ void decoder_initialized(struct decoder * decoder, - const AudioFormat * audio_format); + const AudioFormat * audio_format, + float total_time); /** * This function is called by the decoder plugin when it has -- cgit v1.2.3