• 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
RemoteIO vs AUGraphAddNode on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RemoteIO vs AUGraphAddNode on iOS


  • Subject: RemoteIO vs AUGraphAddNode on iOS
  • From: Patrick Shirkey <email@hidden>
  • Date: Thu, 10 Nov 2011 05:24:27 +0100 (CET)
  • Importance: Normal

Hi,

I asked Apple Developer Support and they [c/w]ouldn't provide an answer
for me

Can anyone tell me why this code works:

----------

    AUNode outputNode;

    // create a new AUGraph
	result = NewAUGraph(&mGraph);
    if (result) { printf("NewAUGraph result %ld X %4.4s\n", result,
(unsigned int)result, (char*)&result); return; }

    // output unit
    CAComponentDescription output_desc(kAudioUnitType_Output,
kAudioUnitSubType_RemoteIO, kAudioUnitManufacturer_Apple);

	result = AUGraphAddNode(mGraph, &output_desc, &outputNode);
	if (result) { printf("AUGraphNewNode 1 result %lu %4.4s\n", result,
(char*)&result); return; }


-----------

But this code doesn't:

-----------

    AUNode outputNode;
    AUNode delayNode;

    // create a new AUGraph
	result = NewAUGraph(&mGraph);
    if (result) { printf("NewAUGraph result %ld X %4.4s\n", result,
(unsigned int)result, (char*)&result); return; }

    // output unit
    CAComponentDescription output_desc(kAudioUnitType_Output,
kAudioUnitSubType_RemoteIO, kAudioUnitManufacturer_Apple);

    // delay unit
    CAComponentDescription delay_desc(kAudioUnitType_Output,
kAudioUnitSubType_RemoteIO, kAudioUnitManufacturer_Apple);

	result = AUGraphAddNode(mGraph, &output_desc, &outputNode);
	if (result) { printf("AUGraphNewNode 1 result %lu %4.4s\n", result,
(char*)&result); return; }

    result = AUGraphAddNode(mGraph, &delay_desc, &delayNode);
	if (result) { printf("AUGraphNewNode 2 result %lu %4.4s\n", result,
(char*)&result); return; }

 ---------




--
Patrick Shirkey
Boost Hardware Ltd
 _______________________________________________
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

  • Follow-Ups:
    • Re: RemoteIO vs AUGraphAddNode on iOS
      • From: Aran Mulholland <email@hidden>
  • Prev by Date: Re: Remote IO on iOS 5.0
  • Next by Date: Re: RemoteIO vs AUGraphAddNode on iOS
  • Previous by thread: Re: AUHighShelfFilter cutoff frequency
  • Next by thread: Re: RemoteIO vs AUGraphAddNode on iOS
  • Index(es):
    • Date
    • Thread