Bug #1461

Particle sources spawning sound sources at excessive rates

Added by kaetemi over 7 years ago. Updated over 7 years ago.

Status:Closed Start date:04/12/2012
Priority:Low Due date:
Assignee:kaetemi % Done:


Category:NeL: Sound
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.


#1 Updated by kaetemi over 7 years ago

Seems to be a bug somewhere in CComplexSource.

#2 Updated by kaetemi over 7 years ago

Or maybe in CGroundFxManager.

#3 Updated by kaetemi over 7 years 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 over 7 years 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 over 7 years 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 over 7 years 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.

Also available in: Atom PDF