I am new to swift and working on a project where i had to visualize audio waves! I am using EZAudio pod where to plot the waves on the screen a function UpdatePlot is used and in parameter a UnsafeMutablePoiter> is passed I want the maximum value in each UnUnsafeMutablePointer to find the highest wave length on the plot
buffer[0]//with a bufferSize UInt32
I want to find the highest value in that buffer[0] array!
Please Help!!! p.s : thanks in advance
for the array buffer[]
Swift 3:
Swift 2: