RemoteIO Input callback and buffers...
RemoteIO Input callback and buffers...
- Subject: RemoteIO Input callback and buffers...
- From: Nathan Peel <email@hidden>
- Date: Wed, 6 May 2009 10:55:33 -0600
Hello, I've been playing with the aurioTouch code and I would like to make it so that input from the mic isn't passed back to the speakers.
I changed the kAudioUnitProperty_SetRenderCallback to kAudioOutputUnitProperty_SetInputCallback
And changed the scope flag from kAudioUnitScope_Global to kAudioUnitScope_Input
The callback function is being called but I'm getting a -50 error when I call AudioUnitRender. As far as I can tell the parameters getting into the function are the same. The only thing I can think that would be wrong is that I need to allocate my own buffers if I use k....SetInputCallback ?
Ideas? |
_______________________________________________
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