Re: Update Matrix Mixer
Re: Update Matrix Mixer
- Subject: Re: Update Matrix Mixer
- From: Christopher Ashworth <email@hidden>
- Date: Mon, 26 Aug 2013 11:42:48 -0400
Depending on your needs it may help to use busses. You can give a matrix mixer lots of busses and enable/disable them while it is running. The mixer is smart enough to not process disabled busses, so you can have a potentially huge mixer without a performance hit unless you are actually using those busses.
-Chris
(mobile) On Aug 26, 2013, at 8:08 AM, Benjamin Rindt < email@hidden> wrote: Hey,
well I tried to set new output busses with just calling AUGraphUpdate but that isn't working out.
I have to make some AudioUnitSetProperty calls to change the elementCount and I think thats not working on a running AudioUnit
I'll uninitializing it, and see if this works out.
Am 25.08.2013 um 23:37 schrieb Valentin Radu < email@hidden>: Hey,
I didn't work with Matrix Mixers before, however, regarding the graph, you can always add/remove/interconnect nodes in a graph and then call `AUGraphUpdate` while the graph is open and running. Assuming the mixer is a node in your graph, worst case scenario (if you can't modify the mixer otherwise) you could remove it, add instead your updated version then call the update graph method.
On 25 Aug 2013, at 23:07, Benjamin Rindt < email@hidden> wrote: Hey guys,
I have a question how to expand a Matrix Mixer which is already running to have more input/output busses.
In my program, the matrix mixer may have to get bigger, what is the right way to do it?
Stop the AUGraph, uninitialize it, set new bus counts on the mixer and stream formats connect the new nodes?
Or is it possible to change these things while the graph is running, or at least stopped but I don't have to uninitialize the Unit?
Thanks Benjamin
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden