[Openal] How to calculate duration of play in openal
anand
anand.cs at robosoftin.com
Thu Jun 21 23:35:04 PDT 2007
Hi All,
I am new to this openal can any one tell me how to calculate time duration
for audio file.well in core audio
Float64 fileDuration= (nPackets * fileFormat.mFramesPerPacket) /
fileFormat.mSampleRate;
this works. But how to calculate in openal:(
any help will be greatly appreciated.
Thanks in advance
-----------------
Anand
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
More information about the Openal
mailing list