Creating callback for streaming

"Susmith M R (RBEI/ECF1)" <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <4CA939AE7204EA41A497B457A05601C52A6D3B0E23@SGPMBX02.APAC.bosch.com>
Hi all,
 Why there is no callback mechanism in OpenAL. Is there any design related reason for not providing a callback mechanism for OpenAL.
Just polling is a very bad way of doing the notification for streaming. I feel this in my code. Since the OpenAL is a crossplatform API,
Calculating the sleep time for polling a difficult way. Please tell me how is it possible to get the notification from the OpenAL that the
Buffer I submitted is finished playing..

Best Regards,
Susmith MR

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.