I use JAudiotagger library to get the track length of an audio file f.ge开发者_JAVA百科tAudioHeader().getTrackLength()
I use this it returns 3.34 as length but the actual length is 5.34.
Am I wrong anywhere?
Its looks at the Xing/VRBI frame header rather than each audio frame itself whihc would be much slower to calculate
精彩评论