View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004148||The Dark Mod||Sound System||public||09.05.2015 06:36||16.10.2017 17:24|
|Product Version||TDM 2.03|
|Target Version||TDM 2.04||Fixed in Version||TDM 2.04|
|Summary||0004148: Sounds popping in big maps|
|Description||Two recent maps have excessive sound popping in certain locations. Semi-random, but up to 50% reproducible in certain spots. |
When the sound pops on my system, sound from outside the game (other applications) is lost for a second or two.
|Tags||No tags attached.|
The problem is in idSoundWorldLocal::ResolveOrigin, a recursive function that flows sound through portals and (1) tots up the volume contribution of different paths to the player, and (2) calculates the spatialized origin, the apparent origin of the sound, heard from the listener's position.
It needs an extra terminating condition up top: if the accumulated sound loss through a portal path is greater than the emitter volume, quit instead of returning a set of numbers that will resolve to 0 volume.
The problem arises later in the same function when it merges together results from different portal chains. If there's more than one chain whose length is within the sound's max distance, but *all* chains found resolve to 0 volume because of sound loss on the portals, then we get a division by zero in the spatialized origin calculation, which eventually ends up being fed into to the sound card as a channel volume.
At rev 6494
|09.05.2015 06:36||SteveL||New Issue|
|09.05.2015 06:36||SteveL||Status||new => assigned|
|09.05.2015 06:36||SteveL||Assigned To||=> SteveL|
|09.05.2015 08:39||SteveL||Note Added: 0007509|
|09.05.2015 08:50||SteveL||Note Edited: 0007509|
|09.05.2015 12:26||SteveL||Note Added: 0007510|
|09.05.2015 12:34||SteveL||Status||assigned => resolved|
|09.05.2015 12:34||SteveL||Fixed in Version||=> TDM 2.04|
|09.05.2015 12:34||SteveL||Resolution||open => fixed|
|16.10.2017 17:21||nbohr1more||Relationship added||related to 0002107|
|16.10.2017 17:24||nbohr1more||Relationship added||related to 0002108|