AUGraphInitialize returns -10877
AUGraphInitialize returns -10877
- Subject: AUGraphInitialize returns -10877
- From: patrick machielse <email@hidden>
- Date: Mon, 16 Apr 2012 01:56:52 +0200
I'm using AUGraph to manage a 'tree' of of AudioUnits. This tree consists of 'branches' - (AUAudioFilePlayer and some effect units) bundled together by a AUMixer wich feeds a default output unit.
When the number of branches exceeds 64 (i.i. the mixer connects to 64 files) AUGraphInitialize() starts returning -10877. Xcode's documentation browser doesn't want to tell me what this error means, but Google points me to kAudioUnitErr_InvalidElement: 'Invalid Element', which doesn't help a whole lot.
Up to this point in constructing the AUGraph there has been no error returned by any API. Nodes were added, the graph was successfully opened, AudioUnits manipulated. The value 64 leads me to believe I'm running into a built-in limit -- somewhere. At this point graph contains 322 nodes/units.
Is there a limit to the # of nodes in AUGraph, or to the number of connections to the stereo mixer? The documentation suggests that AUMixer can mix down an 'arbitrary' number of inputs.
Perhaps AUGraph has a limit?
Thanks,
patrick
--
Patrick Machielse
Hieper Software
http://www.hieper.nl
email@hidden
_______________________________________________
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