playing a sound stream in background

hi

i need some help with directx streaming sound buffers please!

i'm writing a game and i need to play huge WAV files during gameplay. i use a seccond thread to handle the sound buffer and to make sure it always gets filled with the necessary data when needed.

the problem is that when one half of the buffer gets reloaded from disk, the animation stops for a short but noticeable period of time and it's really annoying. i thaught of using asynchronous IO but it's only available in winNT and my target OS is win9x. i've seen many games run _really_ smooth while playing digital audio and reading from the disk so i know it IS possible, but how is it done?!?!? can anybody help me with this please?

thanks in advance

vic






Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories