I want to change the sample rate from my input node from 44100 to 8000
问题 I want to read the buffer from my microphone into an array, with 441khz its working fine but with the sample rate 8khz it comes to an error ERROR: >avae> AVAudioIONodeImpl.mm:884: SetOutputFormat: required condition is false: format.sampleRate == hwFormat.sampleRate 2016-11-26 19:32:40.674 Atem[5800:1168274] *** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: format.sampleRate == hwFormat.sampleRate' with my following code : var