Jump to content
  • Advertisement
Sign in to follow this  
GLGunblade

Sound programming issue.

This topic is 3213 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 figured it be best to post it here since I think it is more of a beginner question. Using directsound for ogg file playback. Also using the code I took from this website for it. http://www.flipcode.com/archives/Ogg_Vorbis_Player_Class.shtml It works well but I'm trying to play a 2nd music/sound file straight after the 1st finishes. At the moment i believe the 2nd sound file plays a second just before the first finishes thus creating a rather bad mismash of a sound. Can anyone tell me from looking at the code why this is? The only idea I have is that it has to do with the update function and how it returns the boolean "bdone", but since I have trouble trying to understand the complex parts of code I have no idea how to fix it. Thanks for any help.

Share this post


Link to post
Share on other sites
Advertisement
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!