Jump to content
  • Advertisement
Sign in to follow this  

DirectSound streaming hardware buffer problems

This topic is 5075 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'm writing a simple sound system for our commercial game and I seem to have some problems with DirectSound OGG Streaming. I'm using the standard ogg vorbis SDK to decode ogg's and my own DirectSound routines to stream / play the data. The problem i've encountered is that if I stream an ogg from disk and plays a static soundbuffer at the same time, my stream is freaking out. This problem only occurs if the stream-buffer is created using DSBCAPS_LOCHARDWARE. This made me check my Directsound Caps and I found out that my soundcard had no "dwTotalHwMemBytes". How does that work? How can I create hardware (DSBCAPS_LOCHARDWARE) buffers with no "dwTotalHwMemBytes"?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!