How to determine length of audio file associated with AVAudioPlayer
Does anyone know how to get att开发者_如何学运维ributes from a file associated with an instance of AVAudioPlayer..specifically I am looking how to determine the length of a WAV file.
If you want the length in seconds, audioPlayer.duration
should do it.
精彩评论