serges1966
January 7th, 2003, 10:11 AM
I am using in my multimedia project very basic sound playback using PlaySound function.
Now I need to be able get wav file playback duration prior to actual playing. Is there a simple way to do that?
I have scouted MSDN for a several hours but could not get simple and clear answer how to do that.
I believe there supposed to be a function that retrieves all sound file parameters, like ones present in multiple sound players: time length, format, sampling frequency, etc.
Any advise would be helpful.
Serge
Now I need to be able get wav file playback duration prior to actual playing. Is there a simple way to do that?
I have scouted MSDN for a several hours but could not get simple and clear answer how to do that.
I believe there supposed to be a function that retrieves all sound file parameters, like ones present in multiple sound players: time length, format, sampling frequency, etc.
Any advise would be helpful.
Serge