scummvm/engines/made
Coen Rampen 8ec8f65d5f MADE: Improve unpausing game when movie is playing
The movie player would use OSystem::getMillis to check the elapsed playing time
to keep audio and video in sync. This would go wrong when the game was paused
during movie playback, as the player would try to make up for the pause time,
fast forwarding the movie and breaking A/V sync.
This commit improves this by using Engine::getTotalPlayTime, which subtracts
pause time, and Mixer::getElapsedTime, which returns the actual length of audio
played. The player seems to restart later than the audio when unpausing, so it
still catches up for about 10 frames, but it's not as bad as before and it does
not lose A/V sync.
2021-10-09 16:59:45 +02:00
..
configure.engine
console.cpp
console.h MADE: Add override keywords 2020-02-09 12:43:15 +01:00
credits.pl DEVTOOLS: move credits from devtools/credits.pl to engines 2021-08-05 00:01:46 +02:00
database.cpp COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
database.h MADE: Add override keywords 2020-02-09 12:43:15 +01:00
detection_tables.h MADE: Add detection for more demos 2021-09-19 14:52:46 +02:00
detection.cpp ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect. 2021-06-13 14:15:45 +02:00
detection.h ENGINES: ALL: Move detection_enums -> detection.h 2020-10-03 14:56:36 +02:00
graphics.cpp
graphics.h
made.cpp MADE: Pause MIDI music when pausing engine 2021-10-09 16:59:45 +02:00
made.h MADE: Pause MIDI music when pausing engine 2021-10-09 16:59:45 +02:00
metaengine.cpp JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
module.mk ENGINES: ALL: Revert detection submodule to be directly present in the engine directory 2020-10-03 14:56:36 +02:00
music.cpp MADE: New MIDI player 2021-10-09 16:59:44 +02:00
music.h MADE: New MIDI player 2021-10-09 16:59:44 +02:00
pmvplayer.cpp MADE: Improve unpausing game when movie is playing 2021-10-09 16:59:45 +02:00
pmvplayer.h
POTFILES I18N: Clarify files in POTFILES 2020-11-28 17:41:24 +01:00
redreader.cpp
redreader.h
resource.cpp COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
resource.h MADE: Fix audible gap when sounds loop 2021-10-09 16:59:45 +02:00
screen.cpp
screen.h
screenfx.cpp
screenfx.h
script.cpp
script.h
scriptfuncs.cpp MADE: Fix audible gap when sounds loop 2021-10-09 16:59:45 +02:00
scriptfuncs.h MADE: Fix audible gap when sounds loop 2021-10-09 16:59:45 +02:00
sound.cpp
sound.h