Jump to content
  • Advertisement

Archived

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

darwintn

Loading & Playing Sounds

This topic is 5287 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

Hi, I am using directsound and I have a doubt... What do you you think is better? 1- Loading all my sounds at a non-critical time, and when I play I don''t have to load them. 2- Loading and playing a sound just when it is required... The first gives less "lag" when playing sounds, but they are allocated all the time. The second may give lag, but the memory is better used, i think.... So, what do you think is the best choice?? thanx

Share this post


Link to post
Share on other sites
Advertisement
Depends upon whether your application can tolerate the lag. More memory use on preloads, and more CPU use on load on the fly.

Brian

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!