sound limits

Started by
2 comments, last by Muzlack 22 years, 1 month ago
Does directsound have a max number of sound buffers playing? because when I have more than one enemy shooting at the same time with seperate buffers for each, they won''t play. Same thing with explosions.. Sponge Factory --Muzlack
--Muzlack
Advertisement
Hmm, could this possible be the problem? I make an enemy that is the "default" enemy of that type. This will eliminate loading in the middle of the level. and I have the enemies = that enemy type. for example:
ENEMY ship;
ship=MakeEnemy1(); //this creates the enemy and loads the sounds, etc
ENEMY ships[15];
for(int i=0; i<15; i++) {
ships=ship;
}

of course, this isn''t the real code, but thats what this does for the most part. Could there be a problem that they are counted as the same ship?

Thanks again



Sponge Factory
--Muzlack
--Muzlack
btw, I just checked and memcpy()ing the structure does not help.
Make Multiple SoundBuffer..

if (PLAYING)
OtherSoundBuffer Play..



This topic is closed to new replies.

Advertisement