mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
AUDIO: Increment total play time when decoding MP3 data.
This commit is contained in:
parent
5f2687fdb3
commit
8564c7ec0a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user