• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem w/ Matrix Mixer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: problem w/ Matrix Mixer
      • From: Robert Grant <email@hidden>
References: 
 >problem w/ Matrix Mixer (From: James Coker <email@hidden>)
 >Re: problem w/ Matrix Mixer (From: Robert Grant <email@hidden>)
 >Re: problem w/ Matrix Mixer (From: Robert Grant <email@hidden>)
 >Re: problem w/ Matrix Mixer (From: Robert Grant <email@hidden>)

  • Prev by Date: Re: HostCallback_GetBeatAndTempo
  • Next by Date: Re: problem w/ Matrix Mixer
  • Previous by thread: Re: problem w/ Matrix Mixer
  • Next by thread: Re: problem w/ Matrix Mixer
  • Index(es):
    • Date
    • Thread