• 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: Robert Grant <email@hidden>
  • Date: Tue, 16 Dec 2003 19:04:45 -0500

On Dec 16, 2003, at 6:36 PM, James McCartney wrote:


On Dec 16, 2003, at 1:33 PM, Robert Grant wrote:

Hi James,

I understand what you're saying but it seems harsh that the mixer does not allow an Enabled input with a dangling subgraph

Why should the MatrixMixer be the one to catch it? If someone should catch this error, it would seem that the AudioUnit with the disconnected input should be the one to catch it. The MatrixMixer is just propogating an error back to you that was returned from an upstream AudioUnit. The problem is upstream. It should be fixed there.

I guess I didn't think a properly connected graph of effect units that just happens to not be connected to an audio source is a problem or is this considered an unterminated graph? When I said that an enabled MatrixMixer input must be connected to a MusicDevice or something that produces audio you asserted that this wasn't the case, but now it turns out that the MatrixMixer considers this to be a "problem that should be fixed upstream", so I think I was correct to warn users about this when wiring up AUs to the mixer, no?

(not connected to a MusicDevice) that return NoConnection. It sounds like one needs to disconnect the subgraph and then disconnect the input? Why not just catch the "NoConnection" and automatically mark the input as disabled?

I don't think that is the MatrixMixer's job. The OutputUnit or the 3D mixer will do the same thing in the same situation. The stereo mixer masks bugs from upstream AudioUnits, which I would consider a bug. Perhaps that is why you are all of a sudden seeing a problem because you are used to the stereo mixer's behaviour...
No - I just thought that a properly connected series of AUs when connected to the MatrixMixer shoudn't cause it to fail. I didn't realize that an unconnected effect AU would generate NoConnection. If you're familiar with Rax you'll know that the simple graph there is always headed by a MusicDevice so I never encountered the problem until I tried more sophisticated graphs with the new version.

I can change it to just ignore upstream errors like the stereo mixer does. This would not be the same as disabling the input because disabling goes to some lengths to avoid a pop, but in this case you are doing the equivalent of pulling the 1/4 inch jack out of the plug while the audio is running.

I for one would be happy with this as it makes the mixer behave in a more tolerant manner - and more like a real world mixer :-)

Robert.
_______________________________________________
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: James McCartney <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>)
 >Re: problem w/ Matrix Mixer (From: James McCartney <email@hidden>)
 >Re: problem w/ Matrix Mixer (From: Robert Grant <email@hidden>)
 >Re: problem w/ Matrix Mixer (From: James McCartney <email@hidden>)

  • Prev by Date: Re: problem w/ Matrix Mixer
  • 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