Archived

This topic is now archived and is closed to further replies.

sound limits

This topic is 5749 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
btw, I just checked and memcpy()ing the structure does not help.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Make Multiple SoundBuffer..

if (PLAYING)
OtherSoundBuffer Play..



Share this post


Link to post
Share on other sites