How to convert that UnsafeMutablePointer<UnsafeMutablePointer<Float>> variable into AudioBufferList?
问题 I have this EZAudio method in my Swift project, to capture audio from the microphone: func microphone(microphone: EZMicrophone!, hasAudioReceived bufferList: UnsafeMutablePointer<UnsafeMutablePointer<Float>>, withBufferSize bufferSize: UInt32, withNumberOfChannels numberOfChannels: UInt32) { } But what I really need is to have that "bufferList" parameter coming in as an AudioBufferList type, in order to send those audio packets through a socket, just like I did in Objective C: //Objective C