Open fadylateef opened 7 years ago
waveform.start: method expects AVAudioPlayer as its param, while the property JukeBox.player is AVPlayer!! Customize the WavformView.swift class to make it use AVPlayer, instead of AVAudioPlayer. Or you can use following codes to serve your purpose: https://github.com/jameswomack/Ominus https://github.com/rFlex/SCWaveformView
I can not customize the wavformview.swift Also, libraries you linked are for Obj-c and gives waves for full audio length not animating for current audio strength .
Hello, First thanks for great player . I'd like to use iOS Animated Waveform Library with jukebox. It is initialized with avaudioplayer item , so when I use
waveform.start(&jukebox.player)
it gives an error'player is inaccessible due to internal protection level'
Thanks
UPDATE : I've managed to access the library files, but the problem now is
Cannot convert value of type AVPlayer into AVAudioPlayer