SFML community forums

Help => Audio => Topic started by: Uncle_Mike on February 20, 2012, 02:50:21 pm

Title: How many can be sounds in game?
Post by: Uncle_Mike on February 20, 2012, 02:50:21 pm
Hi guys.
I have many objects in my game, and to every object I attach 2 or 3 their sounds.
But not all objects  play their sounds...
Title: How many can be sounds in game?
Post by: Laurent on February 20, 2012, 02:57:45 pm
There is an internal limit (set by OpenAL) of sound instances that can live at the same time. I don't remember the exact amount, should be 512 or 1024.
Title: Re: How many can be sounds in game?
Post by: Uncle_Mike on April 07, 2012, 10:10:13 am
I found a solution.
If I use OpenAL32.dll from openal.org (file size 107KB), -  maximum sounds quantity in my game is near only 20!!!
 But  if I use OpenAL32.dll from SFML (file size 205KB), -  everething is OK! Maximum sounds quantity is very large!!!
Why??? :)))
Title: Re: How many can be sounds in game?
Post by: N1ghtly on April 09, 2012, 03:05:49 pm
Where would you even need 20+ sounds simultaneously?
Title: Re: How many can be sounds in game?
Post by: Uncle_Mike on April 10, 2012, 04:45:48 pm
Where would you even need 20+ sounds simultaneously?
I write a great space MMORPG "Cosmagers online", dear friend! ;)