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
Highlighted
Trusted Contributor
Posts: 160
Registered: ‎09-13-2012
My Device: 9900
My Carrier: vodafone

OpenAL playback clicking noise

Hi all,

 

I have managed to implement openal and alut libraries to playback the audio part of a video stream. This audio is causing clicks every second (or more frequent) even though the buffering is working as it should (I have enough buffers to make sure no gaps appear in audio).

 

I have spent the day trying to get to the bottom of it by changing bitrate, sample rate, buffers amount, to no avail. 

 

What would cause clicks to be inserted in the sound being played back?

 

Thanks for any info you can provide.

 

p.s this code was very useful in actually getting openal to output the audio stream which was a struggle in itself.

http://www.vdfn.altervista.org/fp-content/attachs/avstream.c