Home » Questions » How long does the sound play?
I’m using fmod to crossfade different wave files.
For this I have to know how long the file will be played (in ms).
How cann I do that?
Thanks for answers!
Sorry for my bad English (>German 😆 <)
you can read the wave header directly, you have an example here :
Thx, do you have such an example for Delphi, too?
i only know c, c++ and vb, not delphi but we have our Delphi Duty 😉
The Problem is: its loaded as a sample, so I wether have to find out the length of the sample r i hae to load/convert it into a stream, i suppose. But i have no idea how to do that.
Please login first to submit.
Copyright 2017 FIRELIGHT TECHNOLOGIES PTY LTD. All RIGHTS RESERVED.