AudioKit / Waveform

GPU accelerated waveform view
MIT License
199 stars 15 forks source link

Fixing `toFloatChannelData()` conflict with base AudioKit #4

Closed maksutovic closed 1 year ago

maksutovic commented 1 year ago

If you are using AudioKit and Waveform together, the compiler will report an error of Ambigious use of toFloatChannelData() as both Waveform and AudioKit have an extension on AVAudioFile that do the same thing. I have replaced the name in Waveform's to floatChannelData() -- i'm not sure if this is the best approach as this will probably be a breaking change for folks but I also can't imagine not using waveform without AudioKit.