getDuration
Gets the total duration of the audio file in milliseconds.
Return
The duration in milliseconds if successful (greater than 0); -1 otherwise.
Gets the total duration of the audio file in milliseconds.
The duration in milliseconds if successful (greater than 0); -1 otherwise.