Hi,

I am new to SOX, my requirement is to find the lenght of audio files of any format.I know we have command line arguments where I can use sox or soxi to get the length.Instead of doing that I wanted to call the native method which does this.

I have to call this C method from Java, I can use JNI to integrate with the C environment.What I wanted to know what is the method that I have to invoke for my requirement.

I know its complex, any idea ? I need some light here.

Thanks in advance.

-Hari