Jump to content
Sign in to follow this  
  • entries
    24
  • comments
    28
  • views
    8501

A little audio for breakfast

Sign in to follow this  
SGreth

364 views

I got the basics of my OpenAL wrapper finished yesterday. I added support into the editor to assign a sound when a block is hit. I tossed in support over in the game as well to play the sound when the block is hit.

The only major bug/stumbling point I hit was that you can de-allocate an OpenAL sound buffer while it's currently in use by a source.I *would* link a buffer to the source(s) that it's currently being played from, but the problem is that there is no way to be notified when a sound has finished playing in source's queue. For now I'm just resorting to stopping all sound output from a source and clearing that source's queue before. Hopefully that's not *too* ghetto :)


~S'Greth
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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
  • 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!