草庐IT

SimplePCMRecorder

全部标签

ios - SimplePCMRecorder 中的 AudioQueueBufferRef 在 swift 3 中显示错误

我想从iPhone连接Alexa,因为我正在使用一个在Github上用swift2.2编写的示例所以我需要将其转换为Swift3.0从xcode从Swift2.2迁移到Swift3.0已完成,解决了几乎所有错误,现在唯一剩下的错误与AudioQueueBufferRef有关swift2.2:self.recorderState=RecorderState(setupComplete:false,dataFormat:AudioStreamBasicDescription(),queue:UnsafeMutablePointer.alloc(1),buffers:Array(count: