Re: how to use kAudioUnitSubType_VoiceProcessingIO in mac 10.7
Re: how to use kAudioUnitSubType_VoiceProcessingIO in mac 10.7
- Subject: Re: how to use kAudioUnitSubType_VoiceProcessingIO in mac 10.7
- From: tahome izwah <email@hidden>
- Date: Wed, 19 Sep 2012 07:05:15 +0200
Check out http://stackoverflow.com/questions/10792469/how-to-use-kaudiounitsubtype-voiceprocessingio-subtype-of-core-audio-api-in-ma
HTH
--th
2012/9/17 이항령 <email@hidden>:
> 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.
> http://developer.apple.com/library/mac/#technotes/tn2091/_index.html
>
> 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
>
_______________________________________________
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