Particle sources spawning sound sources at excessive rates
|Target version:||Version 0.9.0|
Several particle sources spawn their sound sources at an excessive rate, causing identical samples to interfere with each other. This can be noticed when swimming ingame. This bug appeared a long time ago. Figure out what is causing this to happen.
#3 Updated by kaetemi about 1 year ago
One of the things causing this also seems to be leaking sources somehow, causing glitchy excessive environment sounds in certain locations.
#4 Updated by kaetemi about 1 year ago
Revision 3dec4bcea581 solves the bug where the swimming effect particle source was excessively spawned which caused glitchy sound as a side-effect. It fixes the excessive number of "Setting last event for sound swim_speed_0 in 1861 millisec" style messages that appear in the debug log while swimming.
#5 Updated by kaetemi about 1 year ago
- Description updated (diff)
- Status changed from Assigned to Closed
- Target version set to Version 0.9.0
- % Done changed from 0 to 100
Cannot find any more glitches that cause excessive sound source spawning, so closing this.
#6 Updated by kaetemi about 1 year ago
Note: The swimming particle code spawned new sources whenever it switched between types, and was forced to create new particle systems instead of rese existing ones because the previous running one had not finished playing yet, causing them to build up in large quantities.