Jump to content
  • Advertisement
Sign in to follow this  

Weird DirectSound SetVolume() glitch!

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

Hey everyone... I have encountered this odd glitch when trying to set the volume of a DirectSound8 Buffer stream (I'm using ogg-vorbis libraries to decode ogg files and then pass the data onto DirectSound). It appears as though IDirectSoundBuffer8::SetVolume() only works after a set amount of frames (at 60 frames per second) has passed, and the amount of frames it takes decreases as the buffer size of the DirectSoundBuffer8* increases. EDIT: Nevermind, I figured it out... I guess for some reason initializing DirectSound causes errors if you call it before CreateAppWindow() [Edited by - Ailus on June 11, 2007 5:57:33 PM]

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!