how to use kAudioUnitSubType_VoiceProcessingIO in mac 10.7
how to use kAudioUnitSubType_VoiceProcessingIO in mac 10.7
- Subject: how to use kAudioUnitSubType_VoiceProcessingIO in mac 10.7
- From: 이항령 <email@hidden>
- Date: Mon, 17 Sep 2012 11:43:52 +0900
hi.
I'm using core audio for real-time communication.
the new feature of voice processing is added to mac 10.7 SDK and I hope it will improve voice quality.
I try to use it based on HALout audio unit.
However it is always fail when initializing due to setting kAudioOutputUnitProperty_CurrentDevice.
So I skip the setting current device, and resulting of it is no sound played.
I did
1. AudioComponentFindNext with kAudioUnitSubType_VoiceProcessingIO subType
2. create audio unit by AudioComponentInstanceNew
3. setting format by kAudioUnitProperty_StreamFormat
4. setting kAudioUnitProperty_SetRenderCallback, kAudioOutputUnitProperty_SetInputCallback
5. call AudioUnitInitialize
Is there anything I missed?
Thanks.
_______________________________________________
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