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 15:36:06 -0800
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.
(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...
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.
-
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.