added parameter total_time to decoder_initialized()

Similar to the previous patch: pass total_time instead of manipulating
dc->totalTime directly.
This commit is contained in:
Max Kellermann
2008-08-26 08:27:05 +02:00
parent 4590a98f0e
commit 0d8b551c5a
14 changed files with 31 additions and 29 deletions

View File

@@ -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