To solve this issue, spent over one week. AVAudioEngine inputNode(Mic) sampling rate is fixed at 44100 Hz. But I wanted to get the 16000 Hz PCM data. Code is simple. I used AVAudioConverter in installtap.
Code is here.
To solve this issue, spent over one week. AVAudioEngine inputNode(Mic) sampling rate is fixed at 44100 Hz. But I wanted to get the 16000 Hz PCM data. Code is simple. I used AVAudioConverter in installtap.
Code is here.