I am dynamically connecting and disconnecting AudioUnits to a
MatrixMixer
and I am looking for a way to find the first "free" input bus that is
currently not connected.
FWIW, I do this but I do it with basic foundation classes, e.g:
NSMutableDictionary *_usedBusToSound; ///< Map from bus number to
Sound object pointer.
NSMutableDictionary *_soundToUsedBus; ///< Map from Sound object
pointer to bus number.
NSMutableArray *_freeBusses; ///< List of free bus numbers.
And just update the maps and lists when I make changes to the
MatrixMixer.
I don't recall if you can query the MatrixMixer directly for the info
you want.
Christopher
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden