diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:05 +0200 |
commit | 0d8b551c5a3aeadfd6901469946078d5a95ecb42 (patch) | |
tree | 3fd36e06ef46dfcfc7f9e426b42668318aec8d59 /src/decoder_api.h | |
parent | 4590a98f0eb9484e185e7e0c25a3373c8e9076ea (diff) | |
download | mpd-0d8b551c5a3aeadfd6901469946078d5a95ecb42.tar.gz mpd-0d8b551c5a3aeadfd6901469946078d5a95ecb42.tar.xz mpd-0d8b551c5a3aeadfd6901469946078d5a95ecb42.zip |
added parameter total_time to decoder_initialized()
Similar to the previous patch: pass total_time instead of manipulating
dc->totalTime directly.
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r-- | src/decoder_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |