time of audio file

iam using javax.media.*;
to play wav,mp3 files. i want to display total duration of audio file. i.e i want the time in seconds of the entire audio file. What is the cmd to be used. i tried with player.getDuration. is it the correct way to follow.plssss help me.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!