Jump to content
  • Advertisement


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


DSound Streaming Problem, weird one

This topic is 5573 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

i''ve written a class to play large sound file (streamed one) as game background music. it works fine when in test version, that is, only the music is playing. i even added ''loop'' ability to the class. . the problem comes when i add some sound effects (just using a single dsound buffer, so no streaming needed) to play together with the background music : it seems that the sound effects will affect the background music and cause it to play unsmoothly, i dont know where the problem is. does anyone know why it occurs? thank you. im using WaitForSingleObject For Notification the buffered sound is about 1.5s and i divided it into 16 pieces. the sound format is 22050Hz, 16 Bits, stereo.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!