About Store Forum Documentation Contact



Post Reply 
Huge performance improvements for Sound Processing
Author Message
Esenthel Offline
Administrator

Post: #1
Huge performance improvements for Sound Processing
Recently I've discovered that playing several sounds at the same time can cause a significant delay in the game, which led me to rewriting core part of the sound processing.

From now on there will be absolutely no delays when playing sounds, as all sound commands are now recorded, and executed on a secondary sound thread.

Additionally I've implemented several new features, including:
-limiting number of maximum concurrent sounds played at a given moment
-skipping processing of sounds which volume is below a certain threshold

For example if you have 1000 3D sounds in a scene, then the engine will auto-detect sounds with highest priority, and play only the significant ones.
Those that are far away from the camera, will have lower volume, and thus lower priority, making those sounds to be skipped.

Also I was able to reduce memory usage for OpenAL (Mac, iOS, Linux and Web) nearly 2x

Enjoy! grin
06-28-2015 06:07 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: Huge performance improvements for Sound Processing
Tasty update. : ) Now, where is my thumbs up icon! smile
Grats on the memory usage reduction on OpenAL! : )
(This post was last modified: 06-28-2015 08:31 AM by Zervox.)
06-28-2015 08:31 AM
Find all posts by this user Quote this message in a reply
georgatos7 Offline
Member

Post: #3
RE: Huge performance improvements for Sound Processing
Very good news, thanks.
06-28-2015 04:29 PM
Find all posts by this user Quote this message in a reply
Ezequel Offline
Member

Post: #4
RE: Huge performance improvements for Sound Processing
Nice update, thanks smile
06-28-2015 09:08 PM
Find all posts by this user Quote this message in a reply
Post Reply