Advertisement

Q on streaming sounds

Started by July 30, 2001 07:07 PM
0 comments, last by Coffee Drinker 23 years, 6 months ago
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.
Free your mind.
Try loading less data each time, but at more frequent intervals.

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

This topic is closed to new replies.

Advertisement