OpenAl for streaming
"Susmith M R (RBEI/ECF1)" <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <4CA939AE7204EA41A497B457A05601C529DD828D77@SGPMBX02.APAC.bosch.com> |
Hi everyone, I am developing an OpenAL based application for iPhone. When I use alSourceUnqueueBuffers in a loop I get the same unqueued BufferID for the immediately-next alSourceUnqueueBuffers command. Since I am using a bufferID list to reuse the bufferIDs for my application, there is no need to recreate or delete the buffers. I have already created a set of buffers during the initialization of my application. After unqueuing the buffer from the OpenAl queue I use the unqueued bufferIDs to fill new buffer data using albufferdata and then queue it to OpenAL. I don't know when exactly the buffer will be freed. Please refer http://old.nabble.com/Why-does-alDeleteBuffers-gives-a-AL_INVALID_OPERATION-error--td22632832.html. Can this result in any internal conflict in OpenAL state? alBufferData and alSourceQueueBuffer are not returning any error. Is there any way to know the completion of the command alSourceUnqueueBuffers? Thanks in advance, Susmith MR _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal