DirectSound Overload
Hey all,
I''ve created a directsound server that will recieve a filename through a windows socket connection and then play the sound. For some reason however, the sounds will only play 30 times and then will not be able to create new sound buffers. From what I have learned, the primary sound buffer can only handle 30 secondary sound buffers at once. I have called the Release function after the play function, and then set the secondary buffer to NULL, so theoretically it should release the soundbuffer from memory after playing, but for some reason this isnt working. My question is what are all the steps you must take to release the sound buffer after playing.
thanks again,
Bryant
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement