Re: RemoteIO vs AUGraphAddNode on iOS
Re: RemoteIO vs AUGraphAddNode on iOS
- Subject: Re: RemoteIO vs AUGraphAddNode on iOS
- From: Patrick Shirkey <email@hidden>
- Date: Thu, 10 Nov 2011 07:18:37 +0100 (CET)
- Importance: Normal
> are you trying to create two remoteIO nodes in the same graph? The call
> here
>
> // delay unit
> CAComponentDescription delay_desc(kAudioUnitType_Output,
> kAudioUnitSubType_RemoteIO, kAudioUnitManufacturer_Apple);
>
> has kAudioUnitType_Output as the type and kAudioUnitSubType_RemoteIO
> as the sub type. Is that what you want?
>
I want to create an auNode that I can use for fx processing. IIUC I need
to use RIO for the node type.
> What is the problem? why doesn't it "work"?
>
When I enable this line
result = AUGraphAddNode(mGraph, &delay_desc, &delayNode);
The graph doesn't want to play any audio. There are no error messages :-/
> On Thu, Nov 10, 2011 at 3:24 PM, Patrick Shirkey
> <email@hidden> wrote:
>> 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
>>
>
--
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