Re: AudioGraph problem
Re: AudioGraph problem
- Subject: Re: AudioGraph problem
- From: mm w <email@hidden>
- Date: Sun, 15 Feb 2009 13:36:55 -0800
extern OSStatus
AUGraphAddNode(
AUGraph inGraph,
const AudioComponentDescription * inDescription,
AUNode *outNode)
__OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_2_0);
extern OSStatus
AUGraphNodeInfo(
AUGraph inGraph,
AUNode inNode,
AudioComponentDescription *outDescription,
AudioUnit *outAudioUnit)
__OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_2_0);
Cheers!
On Sun, Feb 15, 2009 at 10:38 AM, Gabriele Palmas
<email@hidden> wrote:
> Hi all,
> I'm developing an iPhone app using CoreAudio and I'm in trouble. The
> function to create a graph like I have done in Cocoa are not there anymore.
> It seems like AUGraphNewNode does not exist anymore! Which is its
> replacement?
> Also AUGraphGetNodeInfo disappeared so again which is its replacement?
> It is incredible that this simple 4 line of code don't work anymore.
>
> // file AU node
> AUNode fileNode;
> cd.componentType = kAudioUnitType_Generator;
> cd.componentSubType = kAudioUnitSubType_AudioFilePlayer;
> AUGraphNewNode (fGraph, &cd, 0, NULL, &fileNode);
>
>
> Oh also kAudioUnitSubType_AudioFilePlayer doesn't exist so I'm lost.
> Please help if you can.
>
> Thanks.
>
> Gab
>
> _______________________________________________
> 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
>
--
-mmw
_______________________________________________
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