Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Audio
»
How many can be sounds in game?
Print
Pages: [
1
]
Author
Topic: How many can be sounds in game? (Read 4052 times)
0 Members and 1 Guest are viewing this topic.
Uncle_Mike
Newbie
Posts: 19
How many can be sounds in game?
«
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...
Logged
Laurent
Administrator
Hero Member
Posts: 32498
How many can be sounds in game?
«
Reply #1 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.
Logged
Laurent Gomila - SFML developer
Uncle_Mike
Newbie
Posts: 19
Re: How many can be sounds in game?
«
Reply #2 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???
)
Logged
N1ghtly
Jr. Member
Posts: 96
Re: How many can be sounds in game?
«
Reply #3 on:
April 09, 2012, 03:05:49 pm »
Where would you even need 20+ sounds simultaneously?
Logged
Uncle_Mike
Newbie
Posts: 19
Re: How many can be sounds in game?
«
Reply #4 on:
April 10, 2012, 04:45:48 pm »
Quote from: N1ghtly on April 09, 2012, 03:05:49 pm
Where would you even need 20+ sounds simultaneously?
I write a great space MMORPG "Cosmagers online", dear friend!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Audio
»
How many can be sounds in game?