ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
649 stars 75 forks source link

MAX_CHANNELS Sound issue #898

Open ghost opened 11 years ago

ghost commented 11 years ago

Hello,

I am a map developer and server operator for Garry's Mod. I have two maps; one of which is used frequently by the playerbase on the server. As of around March time a change was made that caused sounds to stop playing on the map. After a little help on the Facepunch forum I discovered the developer command and started to see the error that was causing it, this was total_channels == MAX_CHANNELS.

I thought this was originally a change made to the maximum number of concurrent sounds by Garry, but after running some tests the problem occurs on TF2 and the Half-Life 2 steampipe beta. The map runs perfectly fine on the normal pre-steampipe Half-Life 2, probably because it does not have the change updated on it.

After doing some investigating, I think it may have something to do with "SoundEmitterSystem.dll" which was updated around the time the problem started happening.

Video: http://www.youtube.com/watch?feature=player_embedded&v=VpBXB-hXQyY - This video shows Half-Life 2 pre-steampipe and current Garry's Mod. The Garry's Mod part is identical to the Half-Life 2 steampipe beta. You will notice that certain sounds aren't playing due to the error in the top left.

I make large scale maps and this seriously affects that. I really hope it can be investigated and fixed and then maybe Garry will be willing to help if he can port it over to his game.

Thanks.

alfred-valve commented 11 years ago

So for your custom maps you would like the number of sound channels increased?

ghost commented 11 years ago

That would be amazing if you could do that. Was it decreased in an update? because the concurrent sounds seemed to be higher.

ghost commented 11 years ago

Is this no longer possible due to it being out of beta?

JohnOakman commented 8 years ago

It's a big UP but I've posted the problem here: https://facepunch.com/showthread.php?t=1511479&p=50919703