Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Quick question - is there an easy way to extract the playing time of sound from a wav file. I suspect I could do it with a win32 API declare but can't find that one in my documentation

thanks in advanve

Posted
Quick question - is there an easy way to extract the playing time of sound from a wav file. I suspect I could do it with a win32 API declare but can't find that one in my documentation

Not my subject, sorry. Maybe someone here may know, but it seems more a general programming question. Perhaps something in http://www.gamedev.net/reference/programming may help?

Regards,

Pete

Posted

What you need is located in the "winmm.dll". I have a VB class, that can open and analyze a wave file. Calculating the length of the audio stream can be easily done with this code. Let me know if you want it.

Regards

Thomas

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.