Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Trusted Contributor
cjonesy
Posts: 160
Registered: ‎09-13-2012
My Device: 9900
My Carrier: vodafone

Using OpenAL

Hi,

 

I am in need of some help because all the tutorials that seems to exist do not do what i want which is continously reading from a stream and processing ffmpeg packets using multiple buffers in openal to avoid gaps.

 

 

I think my question can be boiled down to when we use alBufferData() in openal, the first argument - ALuint bid, say I have initialised my buffers[] array by using alGenBuffers(3, buffers);, what should i be passing to alBufferData() in my loop to ensure the buffering is done correctly - How do i know if buffers[0], buffers[1] or buffers[2] should get passed to alBufferData() ?

 

Thank you for anything you can offer.

Please use plain text.
Trusted Contributor
cjonesy
Posts: 160
Registered: ‎09-13-2012
My Device: 9900
My Carrier: vodafone

Re: Using OpenAL

[ Edited ]

I am really in need of help with openAL, the last 3 days have been spent trying to play audio data using OpenAL on my playbook.

 

Can anyone supply any info/tutorials/samples to do with processing ffmpeg video and audio data using openal?

 

Thanks

Please use plain text.