Re: problem w/ Matrix Mixer
Re: problem w/ Matrix Mixer
- Subject: Re: problem w/ Matrix Mixer
- From: James McCartney <email@hidden>
- Date: Tue, 16 Dec 2003 11:55:36 -0800
The MatrixMixer always calls HasInput() before calling PullInput(), so
it should never generate a kAudioUnitErr_NoConnection itself.
So it is your upstream AudioUnit that is generating this error when the
MatrixMixer calls PullInput on it.
On Dec 16, 2003, at 7:04 AM, Robert Grant wrote:
So I take a look inside AUInputElement::PullInput(...) and I find:
if (mInputType == kNoInput || mCritical)
return kAudioUnitErr_NoConnection;
Now mInputType got set to kNoInput when I disconnected the input. But
why is this worthy of yelling and screaming and causing the
MatrixMixer to stop rendering output? Why can't it just clear out the
buffers and return empty?
You need to provide some input source for it. Like connecting to a
dummy render proc as you discovered.
-
james mccartney
apple coreaudio
_______________________________________________
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.