diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/decoders/mp3.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/decoders/mp3.cpp b/audio/decoders/mp3.cpp index 091f64569d..f66b20e4ae 100644 --- a/audio/decoders/mp3.cpp +++ b/audio/decoders/mp3.cpp @@ -166,6 +166,8 @@ void MP3Stream::decodeMP3Data() { } } + // Sum up the total playback time so far + mad_timer_add(&_totalTime, _frame.header.duration); // Synthesize PCM data mad_synth_frame(&_synth, &_frame); _posInFrame = 0; |