• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AUGraphInitialize returns -10877
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUGraphInitialize returns -10877


  • Subject: Re: AUGraphInitialize returns -10877
  • From: patrick machielse <email@hidden>
  • Date: Mon, 16 Apr 2012 16:47:28 +0200

Op 16 apr. 2012, om 15:24 heeft Samuel Benveniste het volgende geschreven:

>> 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.
>
> We ran into a similar problem, although in our case the nodes we were trying to connect to the mixer were samplers, and things seemed to start to break down above 8.
>
> Anyway,if i remember correctly we solved the issue by setting the number of buses on the mixer explicitly using the following code (copied from Ixer Host sample code) :
>
>     NSLog (@"Setting mixer unit input bus count to: %u", busCount);
>     result = AudioUnitSetProperty (
>                  mixerUnit,
>                  kAudioUnitProperty_ElementCount,
>                  kAudioUnitScope_Input,
>                  0,
>                  &busCount,
>                  sizeof (busCount)
>              );
> Hope that helps!

That solved it :-)

Our users thank you!

p.
--
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

References: 
 >AUGraphInitialize returns -10877 (From: patrick machielse <email@hidden>)
 >Re: AUGraphInitialize returns -10877 (From: Samuel Benveniste <email@hidden>)

  • Prev by Date: Re: newbie question on setting up Ivory instrument unit
  • Next by Date: introspect custom audio unit properties?
  • Previous by thread: Re: AUGraphInitialize returns -10877
  • Next by thread: introspect custom audio unit properties?
  • Index(es):
    • Date
    • Thread