Re: AUGraph usage question from a beginner
Re: AUGraph usage question from a beginner
- Subject: Re: AUGraph usage question from a beginner
- From: Luke Bellandi <email@hidden>
- Date: Mon, 04 Nov 2002 11:54:17 -0800
You'll need to create an AUGraph, not a pointer:
AUGraph myGraph;
OSStatus result;
result = NewAUGraph (&myGraph);
if (result != noErr) {
// handle error
}
AudioUnitHosting and PlayEffect are good examples in the CoreAudioSDK that
use an AUGraph to playback audio. Take a look at the code for those sample
projects.
Best,
Luke Bellandi
Core Audio
On 11/4/02 10:57 AM, "Jirtme Duquennoy" <email@hidden> wrote:
>
Hello
>
>
I'm trying to use an AUGraph to performe some transformation on a
>
captured sound (since the HAL is unable to change the sampling
>
frequency).
>
I have declared a pointer to AUGraph, but when I call NewAUGraph
>
(myGraph), the function returns -50.
>
>
I didn't found the meaning of this error ...
>
>
Moreover, the docs on the AUGraphs seems to be unfinished. Does
>
anyone know how to use an AUGraph ?
>
>
Thank you very much.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.