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

Coffee Drinker

Q on streaming sounds

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

Share this post

Link to post
Share on other sites