在音频引擎输入节点上安装水龙头时出错 只要代码到达 inputNode.installTap(onBus: 0, bufferSize: 1024, format: recordingFormat) {[weak self] (buffer:AVAudioPCMBuffer, when:AVAudioTime),应用程序崩溃,出现以下错误 由于未捕获的异常'com.apple.coreaudio.avfaudio'而终止应用程序 .. 发布时间:2020-09-14 00:34:20 ios swift audio-recording avaudioengine avaudiofile 移动开发
如何用AVAudioPCMBuffer播放声音 我无法用AVAudioPCMBuffer播放声音(尽管我可以使用AVAudioFile)。 我收到了这个错误。 错误: AVAudioBuffer.mm:169: - [AVAudioPCMBuffer initWithPCMFormat:frameCapacity:]:必需条件为false: isCommonFormat 这是我下面的代码,我非常感谢你的帮助。 impor .. 发布时间:2018-09-25 21:19:41 swift ios8 avaudiopcmbuffer avaudiofile avaudioplayernode 移动开发