Jump to content
  • Advertisement

Archived

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

Coffee Drinker

Q on streaming sounds

This topic is 6198 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 in my game, i''m using a directsound buffer to stream a wave file and i have a seccond thread that loads a part of the buffer with fresh data when needed, while the game is running. the problem is that when new sound data is read from disk, the game freezes (for about 1/10s or so). i tried to use async disk i/o but it only works under win nt/2000. how do i load the data asynchronously, or at least not slowing things down?? thanks for reading, i hope someone could help Free your mind.

Share this post


Link to post
Share on other sites
Advertisement
Try loading less data each time, but at more frequent intervals.

Edited by - Kylotan on July 31, 2001 10:57:58 PM

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!