Re: [AD] opensl

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2012-05-29, at 12:03 AM, Jon Rafkind wrote:
> Which works except the audio is noticeably choppy. al_voice_update always returns the same buffer so I can't queue up multiple buffers while one is being played. A possible solution is to copy the data to my own local buffer so opensl doesn't run out of data. Does that seem right?

That's how I did the dsound driver, which I copied from another driver which probably did the same thing. You need to set up multiple buffers.

Trent



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/