Re: SetRenderCallback vs. SetInputCallback
Re: SetRenderCallback vs. SetInputCallback
- Subject: Re: SetRenderCallback vs. SetInputCallback
- From: Carlos Eduardo Mello <email@hidden>
- Date: Fri, 16 Jul 2004 16:08:17 -0300
Does this mean that I should use
kAudioOutputUnitProperty_SetInputCallback to register my callback to an
AudioOutputUnit?
I read and (believe) I understood the information in the SDK about v1
and v2. That's why I used kAudioUnitProperty_SetRenderCallback in My
AudioUnit. It worked and sounded right, so I thought I had it right.
Now, The only CoreAudio stuff I am using is an AudioOutputUnit to send
my sound to the default output. So in this case, can I use either
property to set up my input callback?
On Thursday, July 15, 2004, at 11:27 PM, William Stewart wrote:
That's a different property:
kAudioOutputUnitProperty_SetInputCallback
notice this is kAudio***OUTPUT*** (my emphasis because of obscure
naming conventions we've used here ;-)
Not to be confused with (from AudioUnitProperties.h)
//kAudioUnitProperty_SetInputCallback = 7 -> deprecated - see
AUNTComponent.h
The following
kAudioUnitProperty_SetRenderCallback = 23,
Is used to provide input via a callback to a V2 audio unit (the only
ones we care about).
HTH
Bill
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.