Jump to content
  • Advertisement
Sign in to follow this  

OpenAL buffer queues will not play? [RESOLVED]

This topic is 3005 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've been pulling my hair out trying to figure out why OpenAL will play my wav/ogg stuff okay but it refuses to play my mp3 audio. So after I crawled through it extensively I couldn't find any bugs and was about to give up on it for the third night in a row when I realized that I'm playing sound effects from a single buffer rather than a queue. I tried playing the sfx from a buffer queue and it fails to play. So basically my question is this: This works:
  alSourcei(source, AL_BUFFER, buffer);
This doesn't:
  alSourceQueueBuffers(source, 1, &buffer);
Is there something I'm missing here that's required to play from a queue? I've been over the OpenAL documentation a few times now and I can't see what I'm doing wrong. There's no error being generated. There's just no audio output. Thanks in advance for any advice. :) --------------------------------------------------------------- Disregard that. I was passing the buffer incorrectly. [Edited by - Khatharr on April 26, 2010 3:59:29 AM]

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!