Jump to content
  • Advertisement


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


DirectSound object decreases frame rate

This topic is 5794 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 everybody. I am programming an arkanoid game. Once i create a thread in which a DirectSound object is to play using a midi file, the frames per minute decrease from 30 to 22. I use a class for soundtrack that includes the COM objects as protected variables. Then by calling an Initialize function i initialize the segment. Afterwards by using CreateThread i call a function to call segment->PlayMusic(). Then iot seems like a lot of CPU time is taken over by the music. Anybody has a solution to that? Cheers, c_gatzman

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!