Background sound problem after patch 1.30

Please post any bugs or technical issues found here for official support.

Moderators: Jason Petho, Campaign Series Matrix Edition Development Group

Post Reply
User avatar
Wampir
Posts: 36
Joined: Sat Jul 19, 2014 12:29 pm

Background sound problem after patch 1.30

Post 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.
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Re: Background sound problem after patch 1.30

Post by berto »

Yes, sorry, confirmed. We will investigate.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
MarechalJoffre
Posts: 141
Joined: Thu Dec 18, 2014 1:51 pm

Re: Background sound problem after patch 1.30

Post by MarechalJoffre »

I was going to report this but came across this thread. Just pitching in that I also have this issue.
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

Re: Background sound problem after patch 1.30

Post by berto »

Yes, this will be fixed in the next bug-fix patch (also in CSME).
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
Crossroads
Posts: 18150
Joined: Sun Jul 05, 2009 8:57 am

Re: Background sound problem after patch 1.30

Post 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.
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.00.03 Remastered Edition (May 20, 2025)
CS: Middle East 1948-1985 < v3.00.03 Remastered Edition (May 20, 2025)
User avatar
Crossroads
Posts: 18150
Joined: Sun Jul 05, 2009 8:57 am

Re: Background sound problem after patch 1.30

Post 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.
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.00.03 Remastered Edition (May 20, 2025)
CS: Middle East 1948-1985 < v3.00.03 Remastered Edition (May 20, 2025)
Post Reply

Return to “Tech Support”