草庐IT

installTap

全部标签

ios - 重启录音时 AVAudioEngine inputNode installTap 崩溃

我正在我的应用中实现语音识别。当我第一次向ViewController展示语音识别逻辑时,一切正常。但是,当我再次尝试呈现ViewController时,出现以下崩溃:ERROR:[0x190bf000]>avae>AVAudioNode.mm:568:CreateRecordingTap:requiredconditionisfalse:IsFormatSampleRateAndChannelCountValid(format)***Terminatingappduetouncaughtexception'com.apple.coreaudio.avfaudio',reason:'r

ios - 重启录音时 AVAudioEngine inputNode installTap 崩溃

我正在我的应用中实现语音识别。当我第一次向ViewController展示语音识别逻辑时,一切正常。但是,当我再次尝试呈现ViewController时,出现以下崩溃:ERROR:[0x190bf000]>avae>AVAudioNode.mm:568:CreateRecordingTap:requiredconditionisfalse:IsFormatSampleRateAndChannelCountValid(format)***Terminatingappduetouncaughtexception'com.apple.coreaudio.avfaudio',reason:'r