Sign in to follow this  

OpenAL buffer queues will not play? [RESOLVED]

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

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