I want to get a duration of a sound file in Cocos2d-js.
I am using cc.audioEngine to play sounds.
Does anyone knows how i can get duration of audio file.
I want to get a duration of a sound file in Cocos2d-js.
I am using cc.audioEngine to play sounds.
Does anyone knows how i can get duration of audio file.