Prevent audio skipping when changing rooms[solved]

Started by Glenjamin, Mon 02/07/2018 17:47:34

Previous topic - Next topic

Glenjamin

Whenever an audio track is playing whilst the player is changing rooms, the audio replays like a broken record until the next room is loaded.

Is there any way to stop this so the track continues without interruption?


Crimson Wizard

#1
Short answer is "no", because AGS is terrible.

There is a unofficial method to run audio on a separate thread. To do this, open acsetup.cfg by hand and put this:
Quote
[sound]
threaded=1

But this is not officially supported, and may cause random problems. For example, it is only working on Windows more or less stable, but known to cause crashes on Linux and mobile ports.

Also, with this you can no longer rely on synchronizing music with the game events and video playback: precise timing will not be possible, music may sometimes run slightly faster than the rest of the game.


PS. Only scripting solution that comes to mind is to turn volume down and back up when you change rooms.

morganw

If you use a Wav file instead of OGG or MP3, it shouldn't stutter.

SMF spam blocked by CleanTalk