Page 1 of 1
Background sound problem after patch 1.30
Posted: Thu Apr 27, 2023 6:28 pm
by Wampir
I noticed a problem with the background sound in the game after installing patch 1.30. When you run a new scenario, the first background sound file is played. Unfortunately, the next background sound that should be running doesn't start. The game stops playing background sounds. Unit sounds work properly. I've run several different scenarios several times, the situation repeats itself. I tested this issue on a fresh clean install of the game.
Re: Background sound problem after patch 1.30
Posted: Thu Apr 27, 2023 11:28 pm
by berto
Yes, sorry, confirmed. We will investigate.
Re: Background sound problem after patch 1.30
Posted: Wed Jun 21, 2023 10:48 pm
by MarechalJoffre
I was going to report this but came across this thread. Just pitching in that I also have this issue.
Re: Background sound problem after patch 1.30
Posted: Sun Jun 25, 2023 12:58 pm
by berto
Yes, this will be fixed in the next bug-fix patch (also in CSME).
Re: Background sound problem after patch 1.30
Posted: Wed Jul 17, 2024 8:02 am
by Crossroads
Continuing the discussion here. This was a candidate to be fixed in the 1.31 update, and as far as I can tell, what has happened is Berto had switched the series to use Audiere music libraries instead of MS DirectX libraries.
To cut the story short, DirectX provides a callback to application to notify the music file has completed, while Audiere does not. Audiere, on the other hand, supports multiple platforms, not just Windows. Campaign Series of course is a Windows app only, officially.
The code for both still exists, behind #define / #if defined compiler blocks. DirectX code has implemented the call back to start the next piece of music, it is still there.
I am inclined to compile the engine again for DirectX. I will do that, and share it with our Beta Brigade. All good, "Fix One Thing Break Another" not happening, the next 1.31 / 2.31 Public Beta, next week perhaps, has resoreted back to DirectX and continuous shuffle.
Until end-of-phase, as background music can be side-specific, too.
Re: Background sound problem after patch 1.30
Posted: Wed Jul 17, 2024 3:21 pm
by Crossroads
No. I installed Vietnam 1.0, and the background music shuffled there, and that was with Audiere. So it must be something within the Audiere codeblock, and it was, OnTimer() callback was changed for 1.30/2.30. Continuous play works again.
Continuous background music until change-of-phase (as there is Side A and Side B specific music support in the code) is to be included in the next Public Beta.