Re: MatrixMixer questions
Re: MatrixMixer questions
- Subject: Re: MatrixMixer questions
- From: James McCartney <email@hidden>
- Date: Mon, 1 Dec 2003 12:51:38 -0800
On Nov 27, 2003, at 6:17 AM, Stefan Werner wrote:
Hi,
just a few more questions about the MatrixMixer:
Can I use input streams with more than 2 channels?
Yes.
I don't get an error when I set the
AudioStreamBasicDescription of an input to e.g. 6 channels, but after
doing that, I can't connect any
nodes to its input any more. Trying to establish a connection returns
-10865 -
kAudioUnitErr_PropertyNotWritable - what's that supposed to mean?
Are you setting the stream format after the unit has already been
initialized?
The same code works fine when
I set all the AudioStreamBasicDescription to have 2 channels.
Is there a way of changing the number of input streams while the node
is running? I
No. It could be implemented, but such things are not really good for
real time because the reconfiguration takes CPU time away from
rendering.
have a case
where input streams come and go, and I'd much more prefer changing the
dimension of my mixer on
the fly instead of allocating a max number of streams and having most
of them idle all the time.
The MatrixMixer is very good about not doing work that it doesn't have
to. The additional CPU cost of unused crosspoints is very very tiny.
-
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.