openmoh / openmohaa

Open re-implementation of Medal of Honor: Allied Assault with modern features and bugfixes from ioquake3
GNU General Public License v2.0
305 stars 21 forks source link

(Mohaa - m6|3e) The game stutters when I get to a freight car #324

Closed gbudny closed 1 month ago

gbudny commented 2 months ago

Hi

I want to inform you about the issue I noticed when getting into a freight car. At this moment, the game stops and starts to stutter for 2 - 3 seconds. Then, it continues to work normally.

Can you fix it?

smallmodel commented 2 months ago

It's due to the MP3 decoder (libmad) doing its work, maybe try compiling in Release mode instead, to optimize the code

gbudny commented 2 months ago

Hi

Thank you for the answer.

I have the same issue after compiling OpenMoHAA in Release mode.

You can notice something similar just before the second music starts playing in the credits. It happens after completing the level m6|3e. The game stops for one - two seconds without making a stuttering sound because the first music doesn't play.

https://github.com/openmoh/openmohaa/issues/290

smallmodel commented 1 month ago

Merging into a single issue #333