Using VoiceProcessingIO Audio Unit
Using VoiceProcessingIO Audio Unit
- Subject: Using VoiceProcessingIO Audio Unit
- From: Adit Ranadive <email@hidden>
- Date: Mon, 20 Oct 2014 10:57:39 -0700
Hi,
I am trying to write a sample VoIP application that uses the
VoiceProcessingIO audio unit to perform echo cancellation. However, I
am ending up with an error "-10851" (InvalidPropertyValue) when
calling AudioUnitRender in my inputCallback function.
I am running this on Mac OS X 10.9 and from the Mac developer library
it seems that VoiceProcessing was added in OS X 10.7.
My sample code is similar to the one given here:
http://atastypixel.com/blog/using-remoteio-audio-unit/
Except that I am using VoiceProcessingIO type audio unit and do not
call enableIO on the VoiceProcessing unit. In my input callback
however, I am passing my own allocated buffers to AudioUnitRender.
Any suggestions for getting to fix the error?
Thanks,
Adit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden