I am working on an iOS project that requires acoustic echo cancellation, so the kAudioUnitSubType_VoiceProcessingIO subtype seems like a good choice. Below is a description of my audio device
And based on my experience with the RemoteIO subtype, I included an input element:
UInt32 enable = 1; AudioUnitSetProperty(ioUnit, kAudioOutputUnitProperty_EnableIO, kAudioUnitScope_Input, 1, &enable, sizeof(enable));
However, I got an error while initializing the sound graph. The same sound graph works well if VoiceProcessingIO is replaced by RemoteIO.
Is there a difference between RemoteIO and VoiceProcessingIO that needs special attention?
Thanks Chuankai
Chuankai
source share