Re: AudioUnitRender returning -10863 if no input device is present
Re: AudioUnitRender returning -10863 if no input device is present
- Subject: Re: AudioUnitRender returning -10863 if no input device is present
- From: Doug Wyatt <email@hidden>
- Date: Thu, 15 Oct 2009 10:47:44 -0700
When there's no input device present, you have to disable the input
side of AURemoteIO via kAudioOutputUnitProperty_EnableIO. If the mic
availability changes on a Touch and you want to change the enabledness
of input on a unit you've already initialized, you'll hit an issue --
avoid it by disposing the AURemoteIO and creating a new one.
Doug
On Oct 14, 2009, at 20:11 , Andrew Smith wrote:
Hi
In my audio processing tools I normally use a RemoteIO setup that
lets me read in the input buffer, and stuff in values that end up in
the audio output. I do have one output-only function, but if it's on
a Touch with no mic plugged in, my performThru functions gest -10863
when it calls AudioUnitRender.
Is there any way that I can still get my data into the output
without an input device being present?
thanks!
Andrew Smith
_______________________________________________
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