Sign in to follow this  

Weird DirectSound SetVolume() glitch!

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

This topic is 3841 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this